Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In Matlab, Create a histogram for each of the class distributions {classOne, classTwo}. Plot each of the histograms on the same figure (use 100 bins).

  1. In Matlab, Create a histogram for each of the class distributions {classOne, classTwo}. Plot each of the histograms on the same figure (use 100 bins). The x and y axis should be labeled appropriately. There should be a title for the figure as well as a legend.

histogram(classOne,100)

xlabel ('x axis')

ylabel ('y axis')

legend ('x')

title('Class One');

(I got that part done^)

How do I do this part?

  1. Report the prior probability for classOne? (Hint: Number of classOne samples divided by all samples)

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

XML Data Management Native XML And XML Enabled Database Systems

Authors: Akmal Chaudhri, Awais Rashid, Roberto Zicari, John Fuller

1st Edition

ISBN: 0201844524, 978-0201844528

More Books

Students also viewed these Databases questions

Question

7-16 Compare Web 2.0 and Web 3.0.

Answered: 1 week ago