Description: The goal of this project is to have students demonstrate the ability to follow the main steps of a Machine Learning project and develop a Machine Learning model. Each student has to select a dataset either from the links that are provided, or you can find yours from any other resource. The final project includes the basic steps that require students to master data science skills to solve a multiclass classification problem.
The dataset: the excel
Project Requirements: Run the K–Nearest Neighbors model in Python to predict the class label from the different measurements in the dataset.
Introduction: Start with an introduction of your project. This introduction should introduce (1) the problem you want to solve. (2) Dataset descriptions like the size, the number of measurements, the type of the measurements, and the number of classes and their labels.
Load the data and discover & visualize it to get insights: generate graphs to discover if there is any relationship between measurements or find any clustering.
Prepare the dataset: Do preprocessing if your dataset needs for example, dimension reduction, removing outliers, handling text and categorical variables, cleaning the data, and/or data standardization (all of the variables used for K-NN model must be on the same order of magnitude in order to produce accurate results.
Data partitioning: After preprocessing your dataset, you need now to split the dataset into non-overlap sets to perform training and testing phases.
Different values of K: Choose three different values of K. Discuss your reasons for choosing the different values of K.
Training Phase: Run the model using the three different values of K you chose in the previous step. Discuss the three main steps in the K–NN algorithm: calculate the distance, find the nearest neighbors, and making predictions.
Testing Phase: Compare the accuracy between the training phase and the testing phase. Discuss this results
Evaluation Phase: Check the accuracy of all models predictions (the different values of K) by creating the confusion matrix, compute Recall score, and Precision score. Discuss the predictions results in terms of the accuracy and the misclassification error.
Present the best model: choose the best model you found based on the results from the evaluation phase. Think of any improvement that can be made to get better results.
Conclusion: Discuss your final results and conclusion about the model.
A narrative description of the all the machine learning model steps, provided with screen shots of the code and output.
For every step in the project requirements list above do: (1) Discuss what you did. (2) Provide screen shots of the code. Provide screen shots of the output. (3) Provide any graphs if needs.
Assignment status: Solved by our experts