Question: Python Language: I want to know how I can get the model's predictions without using sklearn. data3 = pd.DataFrame([[5.1, 3.4, 0], [6.5, 2.8, 1], [5.8,

Python Language: I want to know how I can get the model's predictions without using sklearn.

data3 = pd.DataFrame([[5.1, 3.4, 0],

[6.5, 2.8, 1],

[5.8, 2.7, 1],

[4.6, 3.1, 0]],

columns=["x1", "x2", "class"])

data3

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!