Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

1. L. Segregate the input and output variables i.e. X and y.

Further, split the data into


train and test

Import data

Experience column had certain negative values and hence were ignored by using the
command line “Loan_data= Loan_data [

Segregating input & output variable

Splitting data into train carried out in a ratio of 80:20, which is commonly used.

You might also like