X
) and target (y
)X
and y
is linearModel | Parameters | Hyperparameters | Strengths |
---|---|---|---|
Decision Trees | |||
KNNs | |||
SVM RBF | |||
Linear models |
sklearn
TransformersTransformer | Hyperparameters | When to use? |
---|---|---|
SimpleImputer |
||
StandardScaler |
||
OneHotEncoder |
||
OrdinalEncoder |
||
CountVectorizer |
||
TransformedTargetRegressor |
Method | Strengths/Weaknesses | When to use? |
---|---|---|
Nested for loops | ||
Grid search | ||
Random search |
Metric | How to generate/calculate? | When to use? |
---|---|---|
Accuracy | ||
Precision | ||
Recall | ||
F1-score | ||
AP score | ||
AUC |
Metric | How to generate/calculate? | When to use? |
---|---|---|
MSE | ||
RMSE | ||
r2 score | ||
MAPE |
This is mostly on regression metrics though it may serve as a good review of everything.
For this demo, each student should click this link to create a new repo in their accounts, then clone that repo locally to follow along with the demo from today.
If you really don’t want to create a repo,
cpsc330-2024W1
repogit pull
to pull the latest files in the course repo