Code Monkey home page Code Monkey logo

gsclassificationtool's Introduction

GSClassification Tool

A multi-parameter, multi-model k-fold grid search. Designed to find the most promissing model for your classification problem.

Modules

data_preprocessing.py

A template to import, treat and export data in the correct format. Highly dependent on your goals.

GSClassification.py

The classification module containing the classification class.

Current compatible classifiers

  • SVC
  • DecisionTreeClassifier
  • KNeighborsClassifier
  • LogisticRegression
  • GaussianNB
  • RandomForestClassifier
  • Perceptron
  • SGDClassifier
  • XGBClassifier

Run

model_evaluation.py

A script which joins data_preprocessing and GSClassification modules, in order to return statistics about each of the evaluated classifiers and their best parameters.

You need to set:

  • Classifiers (comment out the ones you do not wish to include)
  • Grid search parameters

Example

This software comes with an example from Kaggle's introductory competition. It will preprocess data, test different parameters for different models (executing k-fold grid searches to avoid overfitting) and return

  • a sorted pandas dataframe with the best accuracies and parameters;
  • the cumulative accuracy profile (CAP) along with an image representation of the above metrics.

In order to modify parameters of the grid search, check sklearn's GridSearchCV guide.

gsclassificationtool's People

Stargazers

 avatar

Watchers

 avatar

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.