Question: python The above table lists the 14 days of Jason playing tennis records. Use NumPy to represent the data as array 1) Train a linear

python

python The above table lists the 14 days of Jason playing tennis

The above table lists the 14 days of Jason playing tennis records. Use NumPy to represent the data as array 1) Train a linear regression model with the above dataset, what is R-squared score? What is the prediction result for Day 15 (Rain, Hot, High, Weak)? 2) Train a regression tree model with the above dataset, what are the height and number of leaves? What is the prediction result for Day 15 (Rain, Hot, High, Weak)? 3) In decision tree learning, we use information entropy as the splitting criterion, why not use loss or error (like the loss used in linear regression) to split nodes, i.e., always choose the feature with the minimum loss for subsets after splitting the 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 Databases Questions!