This repository contains machine learning practice notebooks, datasets, saved models, and a small Flask-based house price prediction project.
- Bagging - Bagging classifier examples with the diabetes dataset.
- Decision Tree - Decision tree examples using salary and Titanic datasets.
- One Hot Encoding - One-hot encoding and dummy variable examples.
- Hyperparameter Tuning - Model tuning examples.
- K-Means Clustering - K-Means clustering examples for income and Iris datasets.
- K-Fold Cross Validation - K-Fold and cross-validation examples.
- K-Nearest Neighbor Classification - KNN classification notebook.
- Linear Regression - Linear regression notebooks, sample CSV files, and saved models.
- Logistic Regression - Binary and multiclass logistic regression notebooks.
- Multivariate Regression - Multivariate regression examples.
- Naive Bayes - Naive Bayes examples for Titanic, wine, and spam classification.
- Principal Component Analysis - PCA example notebook.
- Projects - Bangalore house price prediction project with notebook, model, client, and Flask server.
- Random Forest - Random forest notebook.
- Regularization - Regularization notebook and housing dataset.
- Support Vector Machine - SVM notebook.
- Train And Test Split - Train/test split notebook and data.
- Miscellaneous Files - Additional compiled class files.
The notebooks use common Python data science packages:
- Python
- Jupyter Notebook
- numpy
- pandas
- matplotlib
- scikit-learn
- flask and flask-cors for the house price prediction server
Install the main dependencies with:
pip install numpy pandas matplotlib scikit-learn flask flask-cors notebookStart Jupyter from the repository root:
jupyter notebookThen open any notebook from the numbered topic folders.
The project is under 13. Projects.
To run the Flask server:
cd "13. Projects/server"
python server.pyThen open 13. Projects/client/app.html in a browser. The client expects the API at http://127.0.0.1:5000.
- Folder names have been numbered and capitalized for a cleaner learning sequence.
- Generated Python cache files and Jupyter checkpoint folders are ignored by git.