/machine_learning

Primary LanguageJupyter Notebook

machine_learning

#Intro

Examples

- CO2 emissions (Regression)

- Is this concor? (Classification)

- Bank loans (Clustering)

- Anomaly detections (cridit card fraud)

- Netflix recommendations (cridit card fraud)

#Supervised and Unsupervised

supervised unsupervised both

Regression

Regression predict continues values

reg1 reg1

Simple vs multiple

reg1

Regression samples

- Household Price

- Customer Satisfaction

- Sales forecast

- Employment income

reg1

Simple Linear Regression

Simple in regression means just using one independet variable to predict (just using x1 or xn)

reg1 reg1

MSE (mean square error):

hat Y is the prediction y(estimate) and (Y-hatY) is mistake of prediction and to bold the mistake we should square it and finaly sum all data:

reg1 reg1

Benfs(Proc)

reg1

Model Evaluation

reg1

Training accuracy VS Out of sample accuracy

reg1

Train/Test split

reg1

Evaluation Matrix

Mean absolute error(MAE):

reg1

And other evaluation algorithems

reg1

To learninig panda and numpy please run codes by jupyter by

python3.8 -m jupyter
python3.8 -m notebook
python -m notebook

Multiple Linear Regression

reg1