Template for Assignment 7—Predicting NSPNotes:First, please re-save this document on your computer, RENAMING the file to containyour last name. Point values of each part are shown below; 10 points will be allocated for the quality ofyour business writing (organization, clarity, grammar, etc.).Type or paste your responses into the boxes below. The boxes will expand to fit youranswers.Clasification and Prediction Models Model 1.Read the Cardiotocographic.csv data file into RStudio. Make sure to use NSP as a‘factor’ or ‘categorical’ variable for this assignment. Run set.seed(XXX) by usinglast three digits of your student ID in place of XXX followed by partitioning of thedataset into training (50%) and testing (50%). Report on how many cases of N,S, and P exist in the training and testing data. In addition, provide the code used.(10 pts).
Student NameJeffrey Mercier