Question
1. Use the Discriminant Analysis method on the training data to classify the testing data.Provide yourresultsina classification resultstable andshowyourcalculations: A) Thefollowingtable showsasalestraining datasetofcars for thepast7days:
1. Use the Discriminant Analysis method on the training data to classify the testing data.Provide yourresultsinaclassification resultstableandshowyourcalculations:
A) Thefollowingtable showsasalestraining datasetofcars for thepast7days:
CarPrice($) | CarMake | Status (0notsold, 1 sold) |
301 | 41 | 0 |
68 | 45 | 0 |
355 | 15 | 0 |
403 | 27 | 1 |
376 | 41 | 1 |
455 | 15 | 1 |
311 | 41 | 1 |
211 | 27 | 1 |
B) Also,arandomlypicked testingdatasetwasstoredinthefollowing table:
CarPrice($) | CarMake | Status (0notsold, 1 sold) | DiscriminantAnalysis |
388 | 15 | 1 | 1 |
75 | 27 | 0 | 0 |
111 | 45 | 1 | 0 |
2. Basedonyourresults fromquestion 1,fillin thefollowingconfusionmatrixandcompute theoverall accuracypercentage and showyourcalculations:
PredictionConfusionMatrix | ||
Predictedclass | ||
ActualClass | 1 | 0 |
1 | ||
0 |
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