Using this data set: Using R studio
Posted: Sun May 15, 2022 8:25 am
Using this data set:
Using R studio
The data set consists of 20 2-dimentional points in R? We paint the first 10 points in the list as red and the last 10 points as blue. (a) Write down the equation of the maximum margin linear separating line (hyperplane) that separate the red points from the blue points in the form: BX + B2X2 = B. (Round each coefficient to 4 decimals.) (b) Find the point on the maximum margin linear separating line (that you found in part (a)) that is the perpendicular projection of the (only) support vector among the red points. (Round each coordinate to 4 decimals.) Draw a plot that has all of the original points (colored appropriately), the separating line, and the point you found in this part colored in green.
Using R studio
The data set consists of 20 2-dimentional points in R? We paint the first 10 points in the list as red and the last 10 points as blue. (a) Write down the equation of the maximum margin linear separating line (hyperplane) that separate the red points from the blue points in the form: BX + B2X2 = B. (Round each coefficient to 4 decimals.) (b) Find the point on the maximum margin linear separating line (that you found in part (a)) that is the perpendicular projection of the (only) support vector among the red points. (Round each coordinate to 4 decimals.) Draw a plot that has all of the original points (colored appropriately), the separating line, and the point you found in this part colored in green.