GithubHelp home page GithubHelp logo

romanlutz / pmf-automl Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rsheth80/pmf-automl

0.0 2.0 0.0 44.45 MB

Data and code related to the paper "Probabilistic matrix factorization for automated machine learning", NIPS, 2018.

License: BSD 3-Clause "New" or "Revised" License

Python 100.00%

pmf-automl's Introduction

pmf-automl

Data and Python code related to the paper "Probabilistic matrix factorization for automated machine learning", NeurIPS, 2018.

Rishit Sheth, 12/21/2018

Data

all_normalized_accuracy_with_pipelineID.zip contains the performance observations from running 42K pipelines on 553 OpenML datasets. The task was classification and the performance metric was balanced accuracy. Unzip prior to running code.

pipelines.json contains the 42K pipeline instantiations.

ids_train.csv and ids_test.csv contain the OpenML dataset IDs for the training and test sets.

data_feats_featurized.csv contains dataset features.

Code

Tested with Python 3.6.5 on Ubuntu 16.04.5. Requires numpy, pandas, sklearn, torch, and scipy.

run.py will load the data, run training, and then run evaluation (compared against random baselines).

gaussian_process_latent_variable_model.py contains the PyTorch model definition.

kernels.py contains a few Gaussian Process kernel definitions.

bayesian_optimization.py contains the Bayesian optimization class definition, Expected Improvement acquisition function, and L1 warm-start initialization.

utils.py contains some useful auxiliary classes and functions.

plotting.py contains functions to visualize the results of the evaluation. Additionally requires matplotlib. To plot regret/rank curves after evaluation finishes:

import plotting

plotting.compare_regrets(results)
plotting.compare_ranks(results)

Notes

  1. Typo in the paper and supplementary material: 553 total datasets were used in the experiments, not 564.

    Our train/test split procedure described in Supplementary Section 1 allocated 453 datasets to train and 100 datasets to test. 11 of the datasets allocated to test were used to train auto-sklearn. Thus, for a fair comparison, these 11 datasets were placed into train resulting in 464 datasets to train and 89 datasets to test (and, as described in the supplementary material, 5 of these test datasets were not used in the evaluation due to failures by auto-sklearn and the FMLP implementation).

  2. Typo in the supplementary material: During evaluation, auto-sklearn failed to complete 200 iterations on the datasets with IDs 8, 197, 279, and 1472, not 16, 20, 225, and 334. The FMLP implementation failed on the dataset with ID 887, not 40.

  3. The training code was originally written in TensorFlow. We decided to port to PyTorch for the release since PyTorch is somewhat easier to work with. However, the PyTorch implementation is 2-3x slower.

pmf-automl's People

Contributors

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