πŸ™οΈ New York City Airbnb ML & Analytics Web App

An end-to-end Machine Learning web application designed to evaluate and predict New York City Airbnb listing attributes. The repository combines exploratory data analysis, a robust Scikit-Learn preprocessing pipeline (RandomizedSearchCV), and a custom Web Frontend interface deployed on Render.

Deployed on Render


Next-Generation Vocal Acoustic Analytics for Emergency Triage Scoring

TensorFlow Keras Streamlit Accuracy Python


πŸ–ΌοΈ Application Preview

NYC Airbnb App Preview


πŸ–ΌοΈ Application Preview & UI

New York City Airbnb ML & Analytics Web App UI


πŸ”— Live Application

The application is hosted live on Render. You can test it directly here:
πŸ‘‰ Click Here to Launch Render Live Demo


πŸ“Š Model Benchmarks & Metrics

Multiple baseline models were trained and tuned using hyperparameter optimization. Random Forest yielded the highest performance metrics across the board:

Model Algorithm Accuracy Score F1-Score Status
Random Forest Classifier πŸ† 0.851 (85.1%) 0.713 Selected Model
Gradient Boosting Classifier 0.850 (85.0%) 0.706 High Precision
Decision Tree Classifier 0.786 (78.6%) 0.655 Baseline
Logistic Regression 0.726 (72.6%) 0.575 Baseline

βš™οΈ Model Pipeline & Architecture

The machine learning core uses a unified ColumnTransformer integrated into a Scikit-Learn Pipeline tuned with RandomizedSearchCV:

  • Numerical Preprocessing: SimpleImputer βž” PowerTransformer βž” StandardScaler
  • Categorical Preprocessing: SimpleImputer βž” OneHotEncoder
  • Final Estimator: RandomForestClassifier

πŸ“ Repository Structure

β”œβ”€β”€ AB_NYC_2019.csv            # NYC Airbnb Dataset
β”œβ”€β”€ .gitignore                 # Git Ignore File
β”œβ”€β”€ .gitattributes             # Git Attributes File
β”œβ”€β”€ requirements.txt           # Python Dependencies
β”œβ”€β”€ runtime.txt                # Python Runtime Version
β”œβ”€β”€ notebook.ipynb             # Analysis, Pipeline Design & Model Training
β”œβ”€β”€ main.py                    # Backend Server Script (API/Inference)
β”œβ”€β”€ Model_Pipeline.pkl         # Serialized Scikit-Learn Pipeline
β”œβ”€β”€ index.html                 # Frontend Web Interface UI
β”œβ”€β”€ style.css                  # Custom Application Stylesheet
β”œβ”€β”€ script.js                  # Frontend Interactivity & API Fetching
β”œβ”€β”€ the_build_line_guide.html  # Pipeline & Application Guide Documentation
β”œβ”€β”€ UI.png                     # Application UI Preview
β”œβ”€β”€ readme.md                  # Project Documentation
└── New_York_City_.png         # Application Banner / Asset
git clone https://github.com/amirsohail100/New-York-City-Airbnb-ML-Analytics-Web-App.git
cd New-York-City-Airbnb-ML-Analytics-Web-App
streamlit run app.py
pip install -r requirements.txt

πŸ“„ License

This project is licensed under the MIT License.

πŸ“ Author

πŸ‘€ Amir Sohail


NYC Airbnb Machine Learning pipeline evaluating listings using Random Forest (85.1% accuracy) with ColumnTransformer preprocessing. Features a web UI (HTML/CSS/JS + FastAPI/Flask main server) & serialized pipeline inference.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Evaluation results