Question: The first, second, and third columns in H 1 Q 1 . csv represent the x coordinate, y coordinate, and label ( 0 = black,
The first, second, and third columns in HQcsv represent the x coordinate,
y coordinate, and label black, red, blue of a point respectively. Load this data into your program and make a scatter plot of x vs y where the color of each line matches the label of the data point. Next, develop a new representation of the data set as was discussed in the class such that the three different colored points can be classified using only a single coordinate, ie draw lines clearly separating points with different colors. By changing the location of these boundary lines, have your program look for the best possible accuracy. Plot the points again after this new representation.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
