Giter VIP home page Giter VIP logo

ilstrudel.jl's Introduction

ILStrudel

Code for the paper : ILStrudel : Independence-Based Learning of Structured-Decomposable Probabilistic Circuit Ensembles accepted at the Tractable Probabilistic Models Workshop, UAI'21.

Poster | Video

Instructions To Run

By default the code uses the GPU to speed-up pairwise-mutual-information computation.

Train on single dataset :

julia example_train.jl --name [dataset_name] --run_name [exp_name] --pseudocount 1.0 --maxiter 300 --pmi_thresh 0.03 --population_size 300 --num_mine_samples 7 --mine_iterations 3 --num_mi_bags 20 --seed 63

$HOME_DIR is used to refer to output of homedir() in a julia program.

This will write all outputs to $HOME_DIR/runs/$run_name/$dataset_name.

To change the $HOME_DIR path to something else, change the $LOG_DIR variable in line 62 in example_train.jl to a custom path.

To generate summary :

julia example_summary.jl --logdir $HOME_DIR/runs/$run_name

This will generate two files runs.csv and summary.csv under $HOME_DIR/runs/$run_name.

runs.csv will hold performance of all the different hyperparameter configurations for each dataset.

summary.csv will hold the best performing result of all the runs for each dataset.

Train on all datasets :

python train.py

This will launch 20 different tmux shells running in the background on each of the 20 datasets.

Change the parameters inside train.py according to the required experiment names and hyperparameters.

ilstrudel.jl's People

Contributors

shreyas-kowshik avatar

Stargazers

 avatar

Watchers

 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.