ece271hw2

docx

School

Pennsylvania State University *

*We aren’t endorsed by this school

Course

271A

Subject

Industrial Engineering

Date

Dec 6, 2023

Type

docx

Pages

9

Uploaded by ProfessorSnow4388

Report
ECE 271A report homework2 quiz Question a By using the training data in TrainingSamplesCDT_8_new.m, I got the prior probability of the cheetah and the grass, bg mean the Py(grass) = 1053 / 1303 = 0.8081 Py(cheetah) = 250 / 1303 = 0.1919 The prior probabilities of grass and cheetah are same as the probabilities I got from homework1. Attach is the histogram image. 1 is the prior grass and the 2 is the prior cheetah
Question b
The best and the worst I choose best = [1,18,25,27,32,36,38,42]; worst = [3,4,5,6,60,62,63,64];
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
Question c For compute the Bayesian decision rule, the formula is
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help