Git Product home page Git Product logo

supervised-learning's Introduction

Census-Income-Classification

  1. This is a classification model to predict whether a person have more than 50,000 dollars salary.

    Setup: python3.6 pandas numpy sklearn

    (1)training process Usage: python train_classify.py -i -c -f <selection_model> -o

     Example:
         python train_classify.py -i data/census-income.data  -c boot -f forest -o forest_model.sav
    
     Options:
         -i: input file 
         -c: classifier methods: kfold or boot
         -f: classification model: logistic, forest, boosting
         -o: output file of training model
    

    (2) prediction process

     Usage:
         python predict_classify.py -i <inputfile> -m <model file> 
    
     Example:
         python predict_classify.py -i data/classification-test.data -m forest_model.sav 
    
     Options:
         -i: input file 
         -m: model file
    
  2. This is a selection method for significant features. Setup: python3.6 pandas numpy sklearn

    Usage: python feature_FSS.py -i -f <feature_selection_model>

    Example: python feature_FSS.py -i data/census-income.data -f forest

    Options: -i: input file -f: feature selection model: forward, forest, boosting

  3. This is a segementation model to create data segments.

    Setup: python3.6 pandas numpy sklearn

    (1) training process

     Usage:
         python train_seg.py -i <inputfile> -cluster <segementation_model> -n <number of clusters> -o <model output>
    
     Example:
         python train_seg.py -i data/census-income.data -cluster KNN -n 10 -o seg_model.sav
    
     Options:
         -i: input file 
         -cluster: segementation model: KNN or GMM
         -o: output file of training model
    

    (2) prediction process

     Usage:
         python predict_seg.py -i <inputfile> -m <model file> 
     
     Example:
         python predict_seg.py -i data/segmentation-test.data -m seg_model.sav
    
     Options:
         -i: input file 
         -m: model file
    
  4. Generating feature histogram for analysis Usage: python features_analysis.py -i -o

    Example: python features_analysis.py -i data/census-income.data -o features_analysis.txt

    Options: -i: input file -o: output file

supervised-learning's People

Stargazers

 avatar

Watchers

 avatar  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.