GithubHelp home page GithubHelp logo

zygmuntz / sofia-ml-mod Goto Github PK

View Code? Open in Web Editor NEW
43.0 7.0 25.0 995 KB

sofia-kmeans with sparse RBF cluster mapping

Home Page: http://fastml.com/the-secret-of-the-big-guys/

C++ 86.08% Perl 2.03% C 11.90%

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

sofia-ml-mod's People

Contributors

bitdeli-chef avatar zygmuntz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

sofia-ml-mod's Issues

SGD-SVM Parameters

Hello,
i'm new to all of this and i apologize for this question.

I'm using the Sofia-ML SGD-SVM, as i understand it is the same like RankSVM but with SGD. Can you maybe explain me how parameters like:

Learning Options:
-c float -> C: trade-off between training error
and margin (default 0.01)
Kernel Options:
-t int -> type of kernel function:

are set in Sofia-ML? Are they set to default?

Thanks and Regards

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.