Giter VIP home page Giter VIP logo

chimerge's Introduction

Outlines

  1. Implementation of ChiMerge (https://www.aaai.org/Papers/AAAI/1992/AAAI92-019.pdf)

Works sklearn way

  1. Supervised discretization using target, Chi2 statistics & test
  2. Can be configured to multiprocess (n_jobs)
from discretization.chi_merge import *
chi_merge = ChiMerge(con_features=X.columns, significance_level=0.1, n_jobs=-3)
chi_merge.fit_transform(X)

Concept

It follows below rules.

  • If continuous feature is discretized,
    1. Within interval, class frequency is stable.
    2. Two adjacent intervals should have no similar class frequencies.
  • This is tested by Chi2 test

Random thoughts

  • What if considering k-adjacent, not 2-adjacent ?

    Should be normalized and reflected to formula in paper

References

TODO

  • dataset to s3

chimerge's People

Contributors

anylee2142 avatar

Watchers

 avatar  avatar

Forkers

aijax5

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.