Skip to content

Commit

Permalink
Regression, Classification - WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
s2t2 committed Sep 23, 2024
1 parent 9d2b02a commit 027d393
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
4 changes: 3 additions & 1 deletion docs/notes/predictive-modeling/classification/index.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
## Classification Objectives


A classification problem is a supervised learning task, where we have the labels.

In **classification**, the variable we are trying to predict is categorical or discrete (e.g. whether or not an applicant will default on a loan).

## Classification Models

Expand All @@ -15,7 +18,6 @@ Classification Models:

## Classification Metrics


Classification Metrics:

+ Accuracy
Expand Down
3 changes: 3 additions & 0 deletions docs/notes/predictive-modeling/ml-foundations/index.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ Example supervised learning tasks include:
+ **Classification**, where the variable we are trying to predict is categorical or discrete (e.g. whether or not an applicant will default on a loan).



### Unsupervised Learning

In contrast, **unsupervised learning** deals with data that lacks labeled outcomes. The model is tasked with finding patterns or groupings in the data without any explicit guidance. While supervised learning focuses on predicting specific outcomes, unsupervised learning seeks to uncover hidden structures or relationships within the data.
Expand Down Expand Up @@ -76,6 +77,8 @@ Machine learning problem formulation refers to the process of clearly defining t

+ **Evaluation Metrics**: Establishing how the model's success will be measured. This could involve metrics like accuracy, precision, recall for classification problems, or r-squared or mean squared error for regression problems.

![Illustration of Mean Squared Error (MSE), a regression metric.](../../../images/mse-eq.png)

Proper problem formulation ensures that the right machine learning approach is chosen and that the model development process is aligned with the business or research objectives.


Expand Down
6 changes: 4 additions & 2 deletions docs/notes/predictive-modeling/regression/index.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

## Regression Objectives

A regression problem is a supervised learning task, where we have the labels.

In a **regression**, the variable we are trying to predict is continuous (e.g. housing prices).

## Regression Models

Expand All @@ -13,14 +15,14 @@ Regression Models:
+ Lasso Regression
+ etc.


## Regression Metrics


Regression Metrics:

+ R^2 Score
+ Mean Squared Error
+ Mean Absolute Error
+ Root Mean Square Error
+ etc.

![Illustration of Mean Squared Error (MSE).](../../../images/mse-eq.png)

0 comments on commit 027d393

Please sign in to comment.