Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 1.34 KB

readme.md

File metadata and controls

28 lines (21 loc) · 1.34 KB

Credits to: https://voniart.weebly.com/cubist-animals.html

PyCubist

A Python package for fitting Quinlan's Cubist regression model.

Inspired by the R wrapper for cubist: https://github.com/topepo/Cubist

Architecture

Taking inspiration from the R wrapper this is what needs to be done.

  1. Get cubist compiled on own machine so we have binary available.
  2. Understand the inputs the binary require. The training dataset needs to conform to an expected format. May need to write python code that converts Pandas dataframe to this.
  3. Write python code that forks off cubist process with correct arguments and files.
  4. Write interpreter that translates cubists model definition to executable Python code.
  5. Write pypi package that bundles all this.
  6. Enhance package to compile cubist on users machine.
  7. Make python translation performant by using scipy or numpy.
  8. Adapt api to conform to scikit-learn.
  9. Submit package to scikit-learn.

Help is welcome!

Interesting Links: