Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

(In Matlab) Create 5 random partitions of the data, splitting each of the classes into 60% training and 40% testing. Using only the training data,

  1. (In Matlab) Create 5 random partitions of the data, splitting each of the classes into 60% training and 40% testing.
    1. Using only the training data, find the maximum likelihood estimator for the following parameters:
      1. Class One: ,
      2. Class Two: ,
    2. Classify each of the test samples using a Bayesian classifier (you must create a function that will do this).
  2. Report the mean and standard deviation for the prediction accuracy from step 6.

Hint: You will need to create a method that, given the mean and standard deviation of a distribution, determines the probability of a value x belonging to that distribution.

Matlab template below:

function probability = computeGaussianDensity(mean, stdDev, x)

image text in transcribed

Import Wizard Select variables to import using checkboxes Create variables matching preview Create vectors from each column using column names Create vectors from each row using row names Variables in/Users/m.takahashi/Desktop/school/CSC1410-Pattern Recognition/Week 1/partOneData.mat Import Name Bytes Class ize 4 classOne 1x10000 clasST 1x10000 80000 double 80000 double 5.26436.1353 5.0989 5.3168 9.2997 6.7788 9.1

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

OpenStack Trove

Authors: Amrith Kumar, Douglas Shelley

1st Edition

1484212215, 9781484212219

More Books

Students also viewed these Databases questions

Question

Is your management system defined?

Answered: 1 week ago

Question

Explain the market segmentation.

Answered: 1 week ago

Question

Mention the bases on which consumer market can be segmented.

Answered: 1 week ago

Question

18. If you have power, then people will dislike and fear you.

Answered: 1 week ago