Question
Question no-3 BreastCancerTrain and BreastCancerValidation datasets have 9 inputs/features and class labels in the final column. Apply quadratic discriminant analysis to the breast cancer (training)
Question no-3
BreastCancerTrain and BreastCancerValidation datasets have 9 inputs/features and class labels in the final column. Apply quadratic discriminant analysis to the breast cancer (training) dataset, and provide the following (as a percentage value to two decimal places): (a) Training error (b) Validation error Note: you do not need to work directly with the discriminant function (gi(x)) to do this. You proceed by estimating class densities and using Bayes rule.
BreastCancerTrain
5 | 1 | 1 | 3 | 2 | 1 | 1 | 1 | 1 | 1 |
2 | 1 | 1 | 1 | 2 | 1 | 3 | 1 | 1 | 0 |
3 | 4 | 5 | 3 | 7 | 3 | 4 | 6 | 1 | 0 |
2 | 7 | 10 | 10 | 7 | 10 | 4 | 9 | 4 | 1 |
1 | 1 | 1 | 1 | 2 | 1 | 2 | 1 | 1 | 0 |
BreastCancerValidation
5 | 1 | 1 | 1 | 2 | 1 | 3 | 1 | 1 | 0 |
5 | 4 | 4 | 5 | 7 | 10 | 3 | 2 | 1 | 0 |
3 | 1 | 1 | 1 | 2 | 2 | 3 | 1 | 1 | 1 |
6 | 8 | 8 | 1 | 3 | 4 | 3 | 7 | 1 | 0 |
4 | 1 | 1 | 3 | 2 | 1 | 3 | 1 | 1 | 1 |
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