Skip to content

Latest commit

History

95 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Mastering Machine Learning

Open courseware covering essential Machine Learning algorithms and applied projects, from data preprocessing to ensemble methods and beyond.

PythonScikit-learnLicense


What you'll learn

  • Exploratory data analysis and feature preprocessing
  • Evaluate models with the right metrics (accuracy, F1, AUC, confusion matrix)
  • Implement and compare classical ML algorithms from scratch
  • Handle imbalanced datasets
  • Apply dimensionality reduction with PCA
  • Build ensemble models (Random Forest, XGBoost)
  • Mine association rules with Apriori

Prerequisites

TopicLevel
PythonBasic
Pandas & NumPyBasic
Statistics fundamentalsBasic

Contents

All notebooks are in the Projetos/ folder. Datasets are in Bases/.

#NotebookTopics
01Demo1_Algoritmo_Genetico.ipynbGenetic Algorithms, hyperparameter search
02Demo2_RegressaoLinear_Boston.ipynbLinear Regression, Boston Housing
03Demo3_RF_Churn.ipynbRandom Forest, Churn Prediction
04Demo4_Comparacao_Metricas.ipynbMetrics comparison, model evaluation
05Demo5_KNN_Elbow.ipynbKNN, elbow method
06Demo6_KNN_Telco.ipynbKNN applied to Telco dataset
07Demo7_K_Means_Clustering.ipynbK-Means clustering
08Demo8_Kmeans_Crime_data.ipynbK-Means on crime data
09Demo9_Apriori_Movies.ipynbAssociation rules, movie recommendations
10Demo10_RegressaoLogistica.ipynbLogistic Regression
11Demo11_Naive_Bayes.ipynbNaive Bayes classifier
12Demo12_PCA.ipynbPrincipal Component Analysis
13Demo13_PCA_SVM.ipynbPCA + Support Vector Machines
14Demo14_Ensemble_Techniques.ipynbBagging, Boosting, Stacking
15Demo15_XGBoost.ipynbXGBoost, gradient boosting
16Demo16_Datasets_Desbalanceados.ipynbImbalanced datasets, SMOTE

Getting Started

Option 1 — Google Colab (recommended)

Open any notebook directly on GitHub and click Open in Colab at the top of the file.

Option 2 — Local

git clone https://github.com/ahirtonlopes/Mastering-Machine-Learning.git
cd Mastering-Machine-Learning
python -m venv .venv &&source .venv/bin/activate
pip install scikit-learn pandas numpy matplotlib xgboost imbalanced-learn jupyter
jupyter notebook

Suggested Learning Path

Beginner → Demos 2, 5, 7, 10, 11
Intermediate → Demos 3, 4, 6, 8, 12, 13
Advanced → Demos 1, 9, 14, 15, 16


Author

Prof. Dr. Ahirton Lopes · LinkedIn · Google Scholar

Contributions are welcome — open an issue or submit a pull request.

License

MIT

About

Open courseware on Machine Learning fundamentals and applied projects · Scikit-learn · Keras · Python

Topics

Resources

Stars

39 stars

Watchers

3 watching

Forks

Releases

Packages

Contributors

Languages