Write the solution to this question By video record and (rmp file)
- Download Chapter07DataSet_Training.csv and Chapter07DataSet_Scoring.csv, from https://sites.google.com/site/dataminingforthemasses/.
- For the training data, use “Set Role” operator to set attribute Prime_Sport as label.
- Feed the training data to “K-NN” operator. Report the knn model.
- Use “Apply model” operator to apply the learned model to the training data set. Compute the accuracy of the model.
- Use “Apply model” operator to apply the learned model to the scoring data set.
- Replace the “K-NN” operator with “Naïve Bayes”, and repeat 3) and 4).