An interactive web app built with Streamlit to predict housing prices in Boston using a Random Forest Regressor trained on housing dataset features.
🔗 Live Demo: https://boston-price-prediction.streamlit.app/
- 📥 User-friendly input interface for housing features
- 🧠 Trained machine learning model (Random Forest)
- 🔄 Handles missing values via mean imputation
- 📈 Real-time predictions with performance metrics
- ☁️ Hosted on Streamlit Cloud
-
Algorithm: Random Forest Regressor
-
Train/Test Split: 80/20
-
Evaluation Metrics:
- Mean Squared Error (MSE)
- R² Score
- Python 3.11
- Streamlit
- pandas, numpy
- scikit-learn
- matplotlib, seaborn
🏦 Loan Approval Prediction
A machine learning model that predicts loan approval based on applicant details using XGBoost. This task performs data preprocessing, feature engineering, model training, and evaluation with various visualizations to understand model behavior.
- 🧠 XGBoost Classifier with hyperparameter tuning
- 🔄 Handles missing values, label encoding, and feature scaling
- 📉 Generates:
- Confusion Matrix
- Feature Importance
- ROC Curve
- Precision-Recall Curve
- Learning Curve
- ✅ Evaluates model using cross-validation
- Algorithm: XGBoost Classifier
- Train/Test Split: 80/20
- Cross-validation: StratifiedKFold (5-fold)
- Python 3.11
- pandas, numpy
- matplotlib, seaborn
- scikit-learn
- xgboost
Language Model Analysis with GPT-2
An in-depth exploratory project analyzing the behavior and capabilities of the GPT-2 language model using the Hugging Face transformers library. Focuses on how GPT-2 performs in text generation, context understanding, and creativity.
- 🤖 Uses pre-trained GPT-2 from Hugging Face
- ✍️ Generates text for diverse prompts
- 📋 Manual rubric-based evaluation of:
- Context retention
- Creativity
- Coherence
- 📊 Visualizes:
- Word clouds of generated text
- Coherence vs. length graphs
- Response length by prompt
- 🧠 Includes research questions and future work
- 🔍 Bias and safety checks discussed
- ✅ Follows best practices for reproducibility and ethics
- Model: GPT-2 (
transformerspipeline) - Task: Text Generation
- Evaluation: Manual rubric + visual analysis
- Prompts Tested: 5 inputs across narrative, scientific, and lifestyle contexts
- Python 3.11
- pandas, numpy
- matplotlib, seaborn