โ Data Science learning pathData Science ยท Module 7 of 10
Machine learning for data science
Build predictive models with scikit-learn.
๐ Key ideas
- Supervised: regression (numbers) and classification (categories).
- Unsupervised: clustering and dimensionality reduction.
- Workflow: split, train, evaluate, tune.
- Popular models: linear/logistic regression, random forest, XGBoost, k-means.
- Evaluate with RMSE, accuracy, precision, recall, F1, AUC.
๐ก Real-life example: Machine learning is teaching the computer with past examples so it can predict new ones.
Train/test splitSeparate data for evaluation
Random forestEnsemble of trees
Cross-validationRotating validation folds
Feature importanceWhich inputs matter most