Git Product home page Git Product logo

naibx-mlc's Introduction

Paper

This is the companion library for the papers:

(short paper) Naive Bayes Classification for Subset Selection in a Multi-label Setting, Mossina and Rachelson, ICPRAI (2018)
http://oatao.univ-toulouse.fr/19557/
(long version) * Naive Bayes Classification for Subset Selection*, Mossina and Rachelson, arXiv preprint (2017)
https://arxiv.org/abs/1707.06142

Test info

The test/main.cpp file provides a script to run NaiBX.

As commented in the source, one must explicitly provide some input parameter, like the number of columns (e.g. dim_x=103) and the number of target labels available (e.g. labels=14). Please, for more information read the source code.

Example of use

$ make naibx, will get you started

Data are assumed to be cleaned and ready for the analysis, that is, columns are either features (explicative variables) or labels.

The authors of mulan and MEKA very conveniently provide the community with a collection of multi-labeled datasets.

As an example, download the dataset yeast.arff from and run:

$ ./naibx data=path/to/yeast.arff dim_x=103 labels=14 all

Input parameters

  • data=: path to your copy of yeast.arff
  • dim_x=: number of features. This assumes
  • all: computes all metrics available

Bag-of-words Features

$ ./naibx -bow data=/path/to/data.arff dim_x=103 labels=14

./naibx allows you to do k-fold cross-validation automatically, by providing the number of folds (e.g. kfold=10).

naibx-mlc's People

Contributors

erachelson avatar

Stargazers

 avatar  avatar

Watchers

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