Question: 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=0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
