Question
Need to use R. How to use the dataset to perform Naive Bayes to determine its performance in classifying the variable Class in the dataset.
Need to use R.
How to use the dataset to perform Naive Bayes to determine its performance in classifying the variable Class in the dataset.
There is no need to build training and test data sets.Go ahead and use the dataset to both build the model and predict the Class.
Output the confusion matrix.
Choose 1 variable to delete from the 7 available variables and build the model and confusion matrix for the model with 6 remaining variables.
Output the confusion matrix. Should the variable be deleted from the model based on information from the confusion matrix?
I can't post the full dataset, you can make an example by using part of the data.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started