Code Monkey home page Code Monkey logo

ibm_ml_python_pro's Introduction

Final Project for "Machine Learning with Python", a course by the IBM Skills Network

The purpose of this final project is train a set of supervised Machine Learning classifiers and determine which the best using the provided datasets: loan_train.csv and loan_test.csv, with the ultimate goal to applying what we've learnt in the course.

Problem Definition

The two dataset, already split into training and test subsets, describes a set of loan takers/customers that either have not or have paidoff their loans. The target is to predict whether a customer will pay off or have their loan end up collected. The two cases are represented by the "PAIDOFF" and "COLLECTION" labels. Thus we are working with a binary classification problem.

The following classifiers are considered in this project:

  • K-nearest Neighbours
  • Decision Tree
  • Support Vector Machine
  • Logistic Regression

Evaluation

We evaluathe model's accuracy using the dataset stored in loan_test.csv and three metrics Jaccard score, F1 score and LogLoss(in the case of Logistic Regression).

Evaluation Matrix

Algorithm Jaccard F1-score LogLoss
KNN 0.6 0.75 NA
Decision Tree 0.57 0.73 NA
SVM 0.72 0.84 NA
LogisticRegression 0.74 0.85 0.56

By a narrow margin, Logistic Regression is the best performing model based on comparable metrics.

ibm_ml_python_pro's People

Contributors

jannesuuronen avatar

Watchers

James Cloos avatar  avatar

Forkers

segerhult

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.