Skip to content

selvan-01/Height-Prediction-DecisionTree

Repository files navigation


πŸ“ Height Prediction using Decision Tree (Streamlit Web App)

πŸš€ Project Overview

This project is a Machine Learning web application that predicts a person's height based on their age using a Decision Tree Regressor. The model is deployed using Streamlit with a modern and interactive UI.


🎯 Features

  • πŸ“‚ Upload your own dataset (CSV format)
  • πŸ€– Train Decision Tree model instantly
  • πŸŽ›οΈ Enter age and get height prediction
  • πŸ“Š Visualize model predictions with graph
  • πŸ“ˆ Performance metrics (RMSE & R2 Score)
  • 🎨 Beautiful gradient UI (not basic black & white)

🧠 Technologies Used

  • Python 🐍
  • Pandas
  • NumPy
  • Matplotlib
  • Scikit-learn
  • Streamlit

πŸ“ Project Structure

HeightPredictionDecisionTree/
│── app.py
│── dataset.csv
│── requirements.txt
│── README.md

βš™οΈ Installation & Setup

1️⃣ Clone the Repository

git clone https://github.com/selvan-01/Height-Prediction-DecisionTree.git
cd HeightPredictionDecisionTree

2️⃣ Install Dependencies

pip install -r requirements.txt

3️⃣ Run the Application

streamlit run app.py

πŸ“Š How It Works

  1. Upload your dataset (Age vs Height)
  2. The model is trained using Decision Tree Regression
  3. Enter an age value
  4. Get predicted height instantly
  5. View graph and performance metrics

πŸ“Έ Sample Output

  • πŸ“ˆ Graph showing prediction curve
  • πŸ“ Predicted height based on age
  • βœ… RMSE and R2 Score for accuracy

🌟 Future Improvements

  • Add multiple input features (weight, gender, etc.)
  • Improve model accuracy with advanced algorithms
  • Deploy app online (Streamlit Cloud / Vercel)
  • Add download report option

πŸ”— Links

πŸ™Œ Author

S. Senthamil Selvan (Sen) 🎯 Aspiring ML Developer | AI Enthusiast

πŸ”— Portfolio: https://senthamill.vercel.app/


⭐ Support

If you like this project, give it a ⭐ on GitHub and share it!


About

πŸ“ Height Prediction using Decision Tree Regressor | Streamlit Web App πŸš€ Predict human height based on age using Machine Learning. Upload datasets, train models instantly, visualize predictions, and evaluate performance with RMSE & RΒ² score. Built with Python, Scikit-learn & Streamlit.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors