Intro to Stats & Maths for Machine Learning
Amit Kapoor
@amitkaps
Bargava Subramanian
@bargava
What I cannot create, I do not understand -- Richard Feynman
Hacker literally means developing mastery over something. -- Paul Graham
Here we will aim to learn Math essential for Data Science in this hacker way.
It’s tough to make predictions, especially about the future. -- Yogi Berra
[Machine learning is the] field of study that gives computers the ability to learn without being explicitly programmed. -- Arthur Samuel
Machine learning is the study of computer algorithm that improve automatically through experience -- Tom Mitchell
Interactive Example: http://setosa.io/ev/
Measure the error on Test data
Attempts to impose Occam's razor on the solution
Mean Squared Error
$$ MSE = 1/n \sum_{k=1}^n (y_i - \hat{y_i} ) ^ 2 $$Confusion Matrix
Classification Metrics
Recall (TPR) = TP / (TP + FN)
Precision = TP / (TP + FP)
Specificity (TNR) = TN / (TN + FP)
Receiver Operating Characteristic Curve
Plot of TPR vs FPR at different discrimination threshold
Example: Survivor on Titanic
In [ ]:
In [ ]:
In [ ]:
In [ ]: