This repository contains a collection of machine learning algorithms implemented from scratch and with popular libraries. Each algorithm is demonstrated and explained in detail using Jupyter Notebooks (.ipynb files).
- Supervised Learning (Regression, Classification)
- Unsupervised Learning (Clustering, Dimensionality Reduction)
- Model Evaluation and Validation
- Data Preprocessing Techniques
- Example Datasets and Visualizations
The following Python libraries are used throughout the notebooks:
numpypandasscikit-learnmatplotlibseabornipykerneljupyter
Additional libraries may be used in specific notebooks and will be listed in their respective sections or requirements files.
All notebooks are developed and tested in Visual Studio Code using the Jupyter extension. The Python environment is managed with Conda:
-
Create a Conda Environment
conda create -n ml_env python=3.10 conda activate ml_env
-
Install Required Packages
pip install -r requirements.txt
Note:
To run Jupyter Notebooks, you also need to install theipykernelpackage in your environment:pip install ipykernel
-
Open VS Code
Open the folder in VS Code, and select theml_envConda environment as the Python interpreter. -
Run Notebooks
Open any.ipynbfile and run the cells interactively.
- Python 3.10+
- Conda
- VS Code with Jupyter extension
Feel free to explore, modify, and contribute!