Task 1

1-Add the Age Feature to the train_feature and test_feature vectors to study the Age impact on the Survived output.

Don't use plagiarized sources. Get Your Custom Essay on
Just from $13/Page
Order Essay

2-Fill the missing values with the mean value of Ages using fillna function for both train.csv and test.csv.

3-Double check if the Age column values are filled using isnull() function

4-Find the scores matrix and plot the score values for CV=5 and CV=10.

5-For the ‘Sex’ column there are two string values ”male” and “female”. Encode these values to 0 and 1 using the preprocessing library function LableEncoder().

I have attached three Files you need to download and keep in one folder and run the Program. and answer the above question and send me the results.

Still struggling to complete your homework?
Get instant homework help from our expert academic writers!