Skip to content

This R project implements KNN with weighted Euclidean distance to predict airline customer satisfaction using the Invistico_Airline.csv dataset, with hyperparameter tuning to optimize the value of k via the elbow method.

Notifications You must be signed in to change notification settings

RashmitTopG/Airline-Satisfaction-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KNN Implementation with Weighted Euclidean Distance

This project implements the K-Nearest Neighbors (KNN) algorithm with a weighted Euclidean distance function in R. It uses a dataset named Invistico_Airline.csv to predict customer satisfaction based on various features. The script also includes hyperparameter tuning to find the optimal value of k using the elbow method.

Requirements

  • R (version 3.5 or higher)
  • ggplot2 library

Installation

To install the required package, use the following command in R:

install.packages("ggplot2")

Screenshots of the project have been uploaded above.

About

This R project implements KNN with weighted Euclidean distance to predict airline customer satisfaction using the Invistico_Airline.csv dataset, with hyperparameter tuning to optimize the value of k via the elbow method.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages