Question: please answer using python, numpy and matplotlib. Lets first study the simple problem in which only 2 classes (R: Right, E: else) are observed. The
please answer using python, numpy and matplotlib.
Lets first study the simple problem in which only 2 classes (R: Right, E: else) are observed. The balance shows up either C1 (R), when RW + RD > 3 or C2 (E) otherwise. The problem now has only two input features RW and RD.
1- Write a function to create the new data set.
2- Write a function to plot the patterns relatives to classes R and E in different colors and different shapes. Is the problem linearly separable? Give an explanation. Remark: you can include the figure and your response into a markdown cell or provide them in a separate pdf file.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
