GithubHelp home page GithubHelp logo

michaellli / ucidata.jl Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jackdunnnz/ucidata.jl

0.0 1.0 0.0 25.79 MB

Package for accessing UCI Machine Learning Repository datasets in a common format

License: MIT License

Julia 100.00%

ucidata.jl's Introduction

UCIData.jl

This is a package for accessing UCI Machine Learning Repository datasets (and some from other sources) inside Julia. The UCI ML repository is a useful source for machine learning datasets for testing and benchmarking, but the format of datasets is not consistent. This means effort is required in order to make use of new datasets since they need to be read differently.

Instead, the aim is to convert the datasets into a common format (CSV), where each line is as follows:

ID,attribute_1,attribute_2,...,attribute_n,class

The attribute header names start with C or N, indicating categoric or numeric variables.

These datasets can be accessed as DataFrames in Julia using the following, with categoric columns pooled into PooledDataArray type (here we load the "iris" dataset):

using UCIData
UCIData.dataset("iris")

You can get a list of dataset types with

UCIData.list_dataset_types()

and then a list of the available datasets for a given type with

UCIData.list_datasets("classification")

The datasets are not checked in to git in order to minimise the size of the repository and to avoid rehosting the data. As such, the script downloads any missing datasets directly from UCI as it runs, using DataDeps.jl

Contributing

Please feel free to add new datasets via pull request!

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.