Skip to content

In this repository we will preprocess and perform classification and regression over an Airbnb dataset. We will apply various models of Machine Learning.

Notifications You must be signed in to change notification settings

rafaroman18/AIRBNB_ML

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

Classification and Regression on AIRBNB data

In this repository we will apply some Machine Learning to classify/perform regression on an Airbnb dataset which contains rooms that were available to rent in Madrid, Spain.

Models

The Machine Learning Models we will apply are:

  • Naives Bayes
  • K-Nearest Neighbors (KNN)
  • Decision Trees
  • Support Vector Machines (SVM)
    • Classifier:
      • LinearSVC
      • SVC with RBF Kernel
    • Regression:
      • LinearSVR
      • SVR with RBF Kernel

Dataset

The attributes of this dataset are:

  • room_type
  • price
  • latitude
  • altitude
  • minimum nights
  • total reviews
  • availability
  • calculated_host_listings_count

We will classify room_type based on the other attributes. Also, we will use price as the dependent variable and the other ones as independent while performing regression.

Also, we will be using jupyter notebooks during the process to analyse the data, visualize the results and explain each section all in the same file. We will be performing Bayes, KNN and Decision Trees in the first file and SVM in the second

Preprocessing

Some of the tasks we will do in preprocessing are:

  • Distribution analysis

Alt text

  • Correlation Matrix

Alt text

  • Box and whisker plot

Alt text

  • Scale values (StandardScaler)
  • Trasform Pipeline (for scaling)
  • Removing attributes

Results

The results, analysis and explanation are available in each notebook.


2024 - rafaroman18

About

In this repository we will preprocess and perform classification and regression over an Airbnb dataset. We will apply various models of Machine Learning.

Topics

Resources

Stars

Watchers

Forks