Skip to content

Commit

Permalink
Predictive modeling outline
Browse files Browse the repository at this point in the history
  • Loading branch information
s2t2 committed Sep 15, 2024
1 parent d61e372 commit 76180f6
Show file tree
Hide file tree
Showing 24 changed files with 168 additions and 2 deletions.
75 changes: 73 additions & 2 deletions docs/_quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -255,8 +255,79 @@ website:
- section:
href: courses/fin-modeling.qmd
text: "III. Financial Modeling" # "III. Advanced Financial Modeling in Python" # "III. Financial Modeling" #"III. Advanced Financial Modeling"
#contents:
# - applied-ds/unit2.qmd
contents:

- section:
href: notes/predictive-modeling/ml-foundations/index.qmd
text: "Machine Learning Foundations"
contents:

- section:
href: notes/predictive-modeling/ml-foundations/data-encoding.qmd
text: "Data Encoding"

- "--------------"
- section:
href: notes/predictive-modeling/supervised-learning.qmd
text: "Supervised Learning"
contents:

- section:
href: notes/predictive-modeling/regression/index.qmd
text: "Regression"
contents:
- section:
href: notes/predictive-modeling/regression/linear.qmd
text: "Linear Regression"
- section:
href: notes/predictive-modeling/regression/time-series-forecasting.qmd
text: "Time Series Forecasting"

- section:
href: notes/predictive-modeling/regression/autoregressive-models.qmd
text: "Autoregressive Models"

- section:
href: notes/predictive-modeling/classification/index.qmd
text: "Classification"
contents:
- section:
href: notes/predictive-modeling/classification/binary.qmd
text: "Binary Classification"
- section:
href: notes/predictive-modeling/classification/multiclass.qmd
text: "Multi-class Classification"

- "--------------"
- section:
href: notes/predictive-modeling/model-management/index.qmd
text: "Model Management"
contents:
- section:
href: notes/predictive-modeling/model-optimization/grid-search.qmd
text: "Model Optimization"
- section:
href: notes/predictive-modeling/model-management/saving-loading.qmd
text: "Model Management"
- section:
href: notes/predictive-modeling/model-management/deploying.qmd
text: "Model Deployment"


- "--------------"
- section:
href: notes/predictive-modeling/unsupervised-learning.qmd
text: "Unsupervised Learning"
contents:

- section:
href: notes/predictive-modeling/dimensionality-reduction/pca.qmd
text: "Dimensionality Reduction"

- section:
href: notes/predictive-modeling/clustering/index.qmd
text: "Clustering"


#- "---------"
#- about-author.qmd
Expand Down
25 changes: 25 additions & 0 deletions docs/data/grades.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
Name,StudyHours,Grade
Arun,10,50
Sofia,11.5,50
Hassan,9,47
Zara,16,97
Liam,9.25,49
Xia,1,3
Carlos,11.5,53
Kwame,9,42
Fatima,8.5,26
Takumi,14.5,74
Leila,15.5,82
Jin,13.75,62
Priya,9,37
Mei,8,15
Alberto,15.5,70
Anika,8,27
Elif,9,36
Tariq,6,35
Lakshmi,10,48
Maya,12,52
Yusuf,12.5,63
Zainab,12,64
Juan,8,
Ali,,
1 change: 1 addition & 0 deletions docs/notes/predictive-modeling/classification/binary.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Binary Classification
1 change: 1 addition & 0 deletions docs/notes/predictive-modeling/classification/index.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Classification
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Multi-class Classification
1 change: 1 addition & 0 deletions docs/notes/predictive-modeling/clustering/index.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Clustering
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Dimensionality Reduction

## Principal Component Analysis (PCA)
1 change: 1 addition & 0 deletions docs/notes/predictive-modeling/index.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Predictive Modeling in Python (for Finance)
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Data Encoding

## Ordinal Encoding

## One-hot Encoding
10 changes: 10 additions & 0 deletions docs/notes/predictive-modeling/ml-foundations/generalization.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Generalization

overfit vs underfit,




## Train-Test Split

## Cross Validation
1 change: 1 addition & 0 deletions docs/notes/predictive-modeling/ml-foundations/index.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Machine Learning Foundations
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Model Evaluation
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Model Training and Evaluation

maximizing some objective, and measuring it.

Some models are "closed-form" models, which use a predetermined function to arrive at the ideal weights. The Linear Regression is one example of this.

Other models use an "iterative optimization" technique to arrive at the ideal weights over a number of simulated trial periods, or "epochs". Deep learning models rely on this iterative optimization approach.


## Model Evaluation

different metrics for regression vs classification

### Regression Metrics


### Classification Metrics
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Deploying Machine Learning Models
1 change: 1 addition & 0 deletions docs/notes/predictive-modeling/model-management/index.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Model Management
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Saving and Loading Models

## Saving Trained Models


## Loading Pre-trained Models
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Model Optimization

## Hyperparameter Tuning

### Grid Search
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Autocorrelation and Auto-Regressive Models

## Autocorrelation

## Auto-Regressive Models
1 change: 1 addition & 0 deletions docs/notes/predictive-modeling/regression/index.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Regression
1 change: 1 addition & 0 deletions docs/notes/predictive-modeling/regression/linear.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Linear Regression
5 changes: 5 additions & 0 deletions docs/notes/predictive-modeling/regression/ridge-lasso.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Advanced Regression Models

## Ridge

## Lasso
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Regression for Time Series Forecasting
1 change: 1 addition & 0 deletions docs/notes/predictive-modeling/supervised-learning.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Supervised Learning
1 change: 1 addition & 0 deletions docs/notes/predictive-modeling/unsupervised-learning.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Unsupervised Learning

0 comments on commit 76180f6

Please sign in to comment.