GithubHelp home page GithubHelp logo

bayesianbrad / ccfs-python Goto Github PK

View Code? Open in Web Editor NEW

This project forked from plai-group/ccfs-python

0.0 3.0 0.0 514 KB

Canonical Correlation Forests (CCFs)

Home Page: https://arxiv.org/pdf/1507.05444.pdf

License: MIT License

Python 100.00%

ccfs-python's Introduction

Canonical Correlation Forests (CCFs)

CCFs are a decision tree ensemble method for classification and regression. CCFs naturally accommodate multiple outputs, provide a similar computational complexity to random forests, and inherit their impressive robustness to the choice of input parameters.

This implementation is completely done using Numpy and SciPy, which are open-sourced numerical computing libraries.

alt-text-1 alt-text-2
CCFs results on Spiral Dataset CCFs results on Camel Dataset

Prerequisites

  1. Numpy == 1.17.3
  2. SciPy == 1.3.1
  3. Matplotlib == 3.1.2 # For Visualization

(This code base was developed on Python3.6)

Code

pip install -r requirements.txt

For classification example run the following command:

python3 classification_example.py

For regression example run the following command:

python3 regression_example.py

Contribution

Any improvements to the code base are welcomed.

Original Code

https://github.com/twgr/ccfs

Paper citation

@article{rainforth2015canonical,
  title={Canonical correlation forests},
  author={Rainforth, Tom and Wood, Frank},
  journal={arXiv preprint arXiv:1507.05444},
  year={2015}
}

alt-text-1

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.