Giter VIP home page Giter VIP logo

mldr.datasets's Introduction

Travis CRAN_Status_Badge Downloads

RUMDR - R Ultimate Multilabel Dataset Repository

Installation

Use install.packages to install mldr.datasets and its dependencies:

install.packages("mldr.datasets")

Alternatively, you can install it via install_github from the devtools package.

devtools::install_github("fcharte/mldr.datasets")

You can also clone the repository by using entering git clone https://github.com/fcharte/mldr.datasets.git at your command line (assuming git is installed in your system) or with your favourite git GUI.

Usage and examples

This package provides a large collection of multilabel datasets along with the functions needed to export them to several formats and to obtain bibliographic information. Some of the datasets are integrated into the package, while others are externally available. To open a list with all the datasets integrated into the package use the following commands:

library(mldr.datasets)
data(package = "mldr.datasets")

Once the package has been loaded, any of the datasets can be queried as shown below:

birds$measures  # Obtain a list of characterization measures
flags$labels    # Retrieve information about the labels
emotions$attributes # All info about the attributes in the dataset
scene$labelsets # List of labelsets and their frequencies
cat(toBibtex(ng20)) # Print the BibTeX entry for the dataset

The external datasets are automatically donwloaded from GitHub the first time they are needed, then saved locally. To obtain a list of externally available datasets use the following commands:

library(mldr.datasets)
available.mldrs()

The external datasets are not inmediately available. To load any of them enter its name followed by empty parenthesis, as shown below:

bibtex <- bibtex()  # This will load the bibtex dataset, downloading it if is not locally available
bibtex$labels

The toBibtex S3 method returns bibliographic information about the dataset, if it is available. This can be printed with cat or copied to the clipboard to include it in your article.

For more examples and detailed explanation on available functions, please refer to the documentation.

License

This software is distributed under the following terms:

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

The datasets distributed within this software are propierty of their own authors. You can find authorship and citation information inside the datasets.R file or using the toBibtex method.

mldr.datasets's People

Contributors

fcharte avatar fdavidcl avatar

Watchers

 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.