NYC Airbnb · Room Type Predictor
What kind of stay
is this listing?
Enter a listing's details and the model will predict whether it's an entire home, a private room, or a shared room — the way the city lights up differently behind each kind of door.
integration_instructions Technical Overview
Tech Stack
- Backend: FastAPI, Scikit-learn (Random Forest)
- Frontend: HTML/JS, Tailwind CSS, Glassmorphism UI
- Graphics: Custom WebGL Fragment Shader
Listing details
Prediction
API connected
location_city
Fill in the listing details and predict to see the city light up.
Most likely
—
Probability Distribution Logic: The underlying ML model processes location coords, pricing, availability, and host metrics via a pre-trained pipeline. The output probabilities represent the model's confidence for each class.
Visual Mapping: The WebGL visualizer dynamically updates window light activation based on prob * total_windows, providing a 1:1 mapping of backend confidence to visual density.