Cheat sheet for ML models based on scikit-learn, TensorFlow, PyTorch, matplotlib, NumPy, and pandas.
This repository contains a collection of example machine learning source codes for various ML frameworks and libraries such as scikit-learn, TensorFlow, PyTorch, matplotlib, NumPy, and pandas. The purpose of this cheatsheet is to provide a quick reference for students and developers to understand and implement various machine learning models and techniques.
To use the examples in this repository, you need to have Python installed on your machine. You can install the required libraries using pip:
pip install scikit-learn tensorflow torch matplotlib numpy pandasTo use the examples using torchvision and torchaudio, you can install them using pip:
pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121- ML Cheatsheet
classification/logistic_regression.pyclassification/decision_tree.pyclassification/random_forest.pyclassification/support_vector_machine.py
regression/linear_regression.pyregression/ridge_regression.pyregression/decision_tree_regression.pyregression/random_forest_regression.py
model_evaluation/cross_validation.pymodel_evaluation/grid_search.pymodel_evaluation/random_search.py
neural_networks/feedforward_nn.pyneural_networks/convolutional_nn.pyneural_networks/recurrent_nn.py