Computer Science, asked by gurmeetbhullar5893, 9 days ago

Dataset: Wine dataset
(use sklearn library for loading the dataset)
Aim: Naive Bayes Classification
Shuffle the data with seed value 42 and perform a 70- 30 stratified split of the data into a train and test set.
Also, plot the class-wise distribution of data in the train and test set (one for train set and one for test set).
Compare the distributions. Now, perform classification as follows: 10 + (2*5) = 20 marks
(a) Train a Gaussian Naive Bayes classifier and report (a) the class priors, (b) mean and variance of
each feature per class.
(b) Train another Gaussian Naive Bayes classifier by setting prior probability for the classes. Repeat this
experiment by setting priors in the ratios: (a) 40-40-20 and (b) 80-10-10.
For all the experiments above, report the (a) accuracy, (b) confusion matrix, on the train and test set. State
your observations and analysis. The report should include the distributions as well.

Answers

Answered by gowripriya38
0

Answer:

a os the correct answer ok and b is the wrong answer

Explanation:

why to can iam to reading my a computer book a is the correct answer and b is the wrong answer ok can saw

Similar questions