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.
- R (version 3.5 or higher)
- ggplot2 library
To install the required package, use the following command in R:
install.packages("ggplot2")