Coder Social home page Coder Social logo

parths007 / loan-approval-prediction Goto Github PK

View Code? Open in Web Editor NEW
87.0 6.0 75.0 366 KB

Loan Application Data Analysis

Home Page: https://youtu.be/tz_yVYjfyW4

License: Apache License 2.0

Jupyter Notebook 100.00%
data-science data-visualization classification machine-learning python python3 data-analysis data-mining juypter notebook-jupyter

loan-approval-prediction's Introduction

Hi, I'm Parth ๐Ÿ‘‹

I am a software engineer and entrepreneur. Presently, I am pursuing a Master's in Computer Science at the University of Basel, Switzerland focusing on Distributed Systems. My journey is fueled by a deep desire to contribute meaningfully to society through technology and innovation. With a foundation of 4 years at CERN and internships in diverse industries, I've developed a strong skill set in software engineering, which I'm now expanding through advanced studies and filling the knowledge gaps.

Find me around the web ๐ŸŒŽ:

Feel free to ping me on LinkedIn to schedule a quick chat. Thanks for being here, you're awesome ๐Ÿ™Œ

loan-approval-prediction's People

Contributors

parths007 avatar vibhor98 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

loan-approval-prediction's Issues

help

Where can I find the whole code and data sets ?

Error related issue

while importing the library called sklearn.cross_validation error is occuring.

Error

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'

Error in 2nd last

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'

Is still in progress?

This project is still in process or is it close?
I'm interested in helping you in some way

KeyError

Sir I'm having an error in your code that is keyError and I'm unable to find what types of error it is?
Please help me sir!
The code is here.
Screenshot (118)
please please help me sir!

n_folds

Create logistic regression object

model = LogisticRegression()

Train the model using the training sets

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'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.