GithubHelp home page GithubHelp logo

latent_srm's Introduction

DSC 291 Project

Repository Link

https://github.com/ArmanOmmid/DSC291_Project

Google Collab Link

https://colab.research.google.com/drive/1BTFDoX7GfhnSCWScxU2gAwKLt57ZPbFn#scrollTo=JdSCvKeJhDHp

Quickstart Guide

Running Experiments

Our main program takes 5 main arguments; other arguments can be observed in root/src/run_experiment

  1. config_name : The config yaml file that configures this experiment; referenced under root/configs
  2. -D data_path : The location to download and/or locate the chosen dataset
  3. -E exp_path : The path to a folder to store all experiment results
  4. -N exp_name : The name of the experiment identifying this experiment
  5. --download : Flag to download the dataset if it doesn't exist at the given location

Template:

python3 repository/src/main.py config_name -D data_path -E exp_path -N exp_name --download

Example:

python3 repository/src/main.py dsc_complete -D dataset -E experiments -N example --download

Zip all the run results for keeping with:

zip -r experiments.zip experiments

Configuring Experiments

Refer to, modify, and create config yaml files under root/configs and specify the choice in the config_name argument. In these yaml files, you can choose the model architecture, configurate the architecture, choose the dataset, set the hyperparameters, etc..

Plotting Results

  1. Locate the Jupyter Notebook at root/src/plotter.ipynb.
  2. Specify the absolute path of your experiments folder containing all the needed experiments by assigning it as a string to the experiments_path variable in cell [2].
  3. Optional: Include a styles variable to specify which experiments are being plotted and how they are styled.
  4. Run the Notebook and observe the plots.

latent_srm's People

Contributors

armanommid avatar alsozatch avatar stephaniekwan 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.