Skip to content

Latest commit

 

History

History
54 lines (30 loc) · 891 Bytes

README.md

File metadata and controls

54 lines (30 loc) · 891 Bytes

Day4

Problem Statement

Develop a model over Expedia Dataset

Requirement

pip install numpy

pip install seaborn

pip install sklearn

pip install matplotlib

Dataset

Personalize Expedia Hotel Searches

Approach

  • Load the Dataset
  • Find NaNs in the data and remove columns having them
  • Dataset is very huge, hence we will work on a subset
  • Find the most populat property, country and room
  • Perform a K Means Clustering
  • Plot out Graphs

Results & Outputs

Formed 10 Clusters

Cluster Centers

Cluster Centers

Elbow Curve

Elbow Curve

5D K Means Graphs

x = price_usd

y = srch_booking_window

z = srch_saturday_night_bool

c = Cluster labels

s = varied sizes based on srch_length_of_stay

5D K Means