Question: (1) Use Python to generate a 2D not linearly separable data set with 50 data points. The data set should have approximately half positive

(1) Use Python to generate a 2D not linearly separable data set with 50 data points. The data set should have

(1) Use Python to generate a 2D not linearly separable data set with 50 data points. The data set should have approximately half positive and half negative instances. Create a scatter plot to visualize the data set. (2) Modify the training algorithm you developed in a.(2) to have a training algorithm that works on a nonseparable data set. Use the synthetic data set in b. (1) to test your algorithm. Show the error function curve. Plot the decision boundary on the scatter plot of the data set.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!