Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Task2: Linear regression: This is a dataset to predict the heath insurance costs of customers for a real health isurance company For sex, and smoker

image text in transcribed
Task2: Linear regression: This is a dataset to predict the heath insurance costs of customers for a real health isurance company For "sex", and "smoker" features, replace classes with 0 or 1. For instance "female" could be 0, "male" could be 1. Choice of 0 Use multiple linear regressionto predict charges. Set 20% of the data to be "test" set. Calculate RMS for test set and training Find out which feature can be dropped, either using correlaton between features, or use t-stat ot p-value. Build a new model Compare first model and second model. Which one is better? Why? You can create as many sheets aas you want for this task, name them: Task2-1, Task2-2, ... . I already have created two blank s

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Fundamentals Of Calculus

Authors: Carla C Morris, Robert M Stark

1st Edition

1119015367, 9781119015369

More Books

Students also viewed these Mathematics questions

Question

What-if anything-would you say to your other students?

Answered: 1 week ago

Question

Know how to create a position description

Answered: 1 week ago