I am trying to build a Regression
model and I am looking for a way to check whether there's any correlation between features and target variables?
This is my sample dataset
Loan_ID Gender Married Dependents Education Self_Employed ApplicantIncome\
0 LP001002 Male No 0 Graduate No 5849
1 LP001003 Male Yes 1 Graduate No 4583
2 LP001005 Male Yes 0 Graduate Yes 3000
3 LP001006 Male Yes 0 Not Graduate No 2583
4 LP001008 Male No 0 Graduate No 6000
CoapplicantIncome LoanAmount Loan_Amount_Term Credit_History Area Loan_Status
0.0 123 360.0 1.0 Urban Y
1508.0 128.0 360.0 1.0 Rural N
0.0 66.0 360.0 1.0 Urban Y
2358.0 120.0 360.0 1.0 Urban Y
0.0 141.0 360.0 1.0 Urban Y
I am trying to predict LoanAmount
column based on the features available above.
I just want to see if there's a correlation between the features and target variable. I tried LinearRegression
, GradientBoostingRegressor
and I'm hardly getting a accuracy of around 0.30 - 0.40%
.
Any suggestions on algorithms, params etc that I should use for better prediction?