📈scikit-learn
Also known as sklearn, SciKit Learn
A free Python tool full of classic models. You use them all the same way.
Think of it like
It is like a box of tools. Each tool has the same kind of handle.
Example
It began in 2007 as a summer student project, and the first public release came in 2010. Lucy uses it to train a random forest on her shop's sales table.
Why it matters
It is where most people learn machine learning. One shape for every model makes swapping them easy.
Definition
Example code
python
from sklearn.ensemble import RandomForestClassifier
model = RandomForestClassifier().fit(X_train, y_train)
model.score(X_test, y_test)
# 0.87Common mistake
Key takeaways
- 1Classic models. Trees, regression, clustering and more.
- 2Fit and predict. The same two calls for all.
- 3Table data. Sized for one computer.