Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Use Octave or Matlab please, thank you. i. Plot the two classes. ii. Find the mean of each class. iii. Find the equation of the
Use Octave or Matlab please, thank you.
i. Plot the two classes. ii. Find the mean of each class. iii. Find the equation of the plane that separates those classes halfway between their respective means. That is, find the separating plane that could be used for classification with maximum margin between the classes; should produce positive values for class B and negative values for class A. (Calculate the x-value and y-value of the midpoint between the sample mean of class A and class B). iv. Calculate the x-value and y-value of the normalized vector that points towards class B. v. Calculate the weights (slopes) in the equation of the separating plane z=0+1x1+2y that creates the separating line in the level set z=0Step 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