Giter VIP home page Giter VIP logo

sofia-ml-mod's Introduction

sofia-ml, modified

This is a modified version of sofia-ml by D. Sculley. It differs from the original only in two additional parameters for sofia-kmeans RBF cluster mapping:

--cluster_mapping_threshold <float t>

After mapping, the values below the threshold will be set to zero (try t = 0.01 or 0.001). The resulting file might be smaller and sparsyifying in this way may also help supervised learning (smaller error in classification or regression).

Make sure that t is small enough in relation to --cluster_mapping_param, because if all the features are smaller than the threshold, you'll just get a bunch of zeros.

--cluster_mapping_sparsity <int s>

Only use s nearest cluster centers for mapping. It is a stronger alternative to setting a threshold. The results with sparse mapping might be slightly worse, but the file certainly will be way smaller. Recommended for large data sets.

The modified files are:

sofia-ml/cluster-src/sf-cluster-centers.cc
sofia-ml/cluster-src/sf-cluster-centers.h
sofia-ml/src/sofia-kmeans.cc

See http://fastml.com/the-secret-of-the-big-guys/ for more.

Bitdeli Badge

sofia-ml-mod's People

Contributors

zygmuntz avatar bitdeli-chef avatar

Watchers

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