Git Product home page Git Product logo

learning's Introduction

FlightStats Learning

Open source machine learning algorithms.

This is alpha-level code at this point. Use at your own risk. Trust nothing. It will probably make your machine explode, and your cat throw up in your shoes.

Your contributions, criticisms, pull requests, patches, etc are very welcome.

So far, we have implemented:

  • ID3 decision tree + training (very simplistic, as the goal was to provide an underlying tree for the Random Forest; no pruning algorithm is implemented, for example)
  • Random Forest algorithm, using underlying ID3 trees.
  • Regression Tree (also simplistic, as the goal was to feed into the random forest).
  • Random Forest of Regression Trees, making a Regression Random Forest.

An example of training and testing the random forest implementation is provided in the OptDigitsExample program. In the example, a random forest is trained to recognize hand-written digits from http://archive.ics.uci.edu/ml/datasets (The "Optical Recognition of Handwritten Digits Data Set"). The training and test-set data have the contrast reduced by a factor of 4 to make the random forest trees have fewer branches at each node (up to 4, rather than 16, which would result in trees that are too highly branched for the extent of the training data). The forests that result have a test-set error of approx. 5-6%.

There is an example of a Regression Random Forest in the WineQualityExample, and a simple regression tree in the Cars93Example.

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.