- Logistic Regression Model
- Accuracy : 80.945%
- Cross-Validation Score : 80.946%
- Programming Language: Python
- Libraries: Pandas, Scikit-learn, Matplotlib, Numpy
- Datahack
Note: Do Check out project report pdf to find out how I used this algorithm.
Loan Application Data Analysis
Home Page: https://youtu.be/tz_yVYjfyW4
License: Apache License 2.0
Note: Do Check out project report pdf to find out how I used this algorithm.
This project is still in process or is it close?
I'm interested in helping you in some way
Where can I find the whole code and data sets ?
classification_model(model, df,predictors_Logistic,outcome_var)
test_modified.to_csv("Logistic_Prediction.csv",columns=['Loan_ID','Loan_Status'])
TypeError Traceback (most recent call last)
in
16 outcome_var = 'Loan_Status'
17
---> 18 classification_model(model, df,predictors_Logistic,outcome_var)
19
20 test_modified.to_csv("Logistic_Prediction.csv",columns=['Loan_ID','Loan_Status'])
in classification_model(model, data, predictors, outcome)
17
18 #Perform k-fold cross-validation with 5 folds
---> 19 kf = KFold(data.shape[0], n_folds=5)
20 error = []
21 for train, test in kf:
TypeError: init() got an unexpected keyword argument 'n_folds'
can u send me the data
Even though u fixed it coming again
Cross-validation is not coming
TypeError Traceback (most recent call last)
in
16 outcome_var = 'Loan_Status'
17
---> 18 classification_model(model, data,predictors_Logistic,outcome_var)
19
20 test_modified.to_csv("Logistic_Prediction.csv",columns=['Loan_ID','Loan_Status'])
in classification_model(model, df, predictors, outcome)
18
19 #Perform k-fold cross-validation with 5 folds
---> 20 kf = KFold(df.shape[0], n_folds=5)
21 error = []
22 for train, test in kf:
TypeError: init() got an unexpected keyword argument 'n_folds'
model = LogisticRegression()
model.fit(x_train, y_train)
#Predict Output
predicted= model.predict(x_test)
#Reverse encoding for predicted outcome
predicted = number.inverse_transform(predicted)
#Store it to test dataset
test_modified['Loan_Status']=predicted
outcome_var = 'Loan_Status'
classification_model(model, df,predictors_Logistic,outcome_var)
test_modified.to_csv("Logistic_Prediction.csv",columns=['Loan_ID','Loan_Status'])``
its saying__init__() got an unexpected keyword argument 'n_folds'
while importing the library called sklearn.cross_validation error is occuring.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.