Both aim to make predictions of natural phenomena:
Statistics:
Machine learning:
Note: Practical ML systems can combine many types in one system.
interactive(children=(Dropdown(description='classifier', options=(LogisticRegression(), SVC(gamma=2, probabili…
Classify types of Iris flowers (setosa, versicolor, or virginica). How would you do it?
interactive(children=(Dropdown(description='regressor', options=(LinearRegression(), BayesianRidge(), Gaussian…
interactive(children=(IntSlider(value=50, description='randomize', min=1), Output()), _dom_classes=('widget-in…
All machine learning algorithms consist of 3 components:
A powerful/flexible model is only useful if it can also be optimized efficiently
Let's take neural networks as an example
interactive(children=(IntSlider(value=8, description='degrees', max=16, min=1), Output()), _dom_classes=('widg…
© XKCD
Build prototypes early-on
(but you need both)
A typical machine learning system has multiple components, which we will cover in upcoming lectures:
Learning and evaluation
Prediction
Select the right model, then fit it to the data to minimize a task-specific error $\mathcal{E}$
Overfitting: model fits the training data well but not new (test) data