Question: How would I run Logistic Regression, Linear Discriminant Analysis, kNN, and Nave Bayes Classifications in Python or R given the data below. Describing the probability

How would I run Logistic Regression, Linear Discriminant Analysis, kNN, and Nave Bayes Classifications in Python or R given the data below.

Describing the probability of illness as a function of age, education, income, depress, and drinking

illness age education incomedepress drinking

1 68 2 4 0 2

1 58 4 15 4 1

0 45 3 28 4 1

1 50 3 9 5 2

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 Mathematics Questions!