Coder Social home page Coder Social logo

belkhir-nacim / experiment-framework Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tim-henry/experiment-framework

0.0 1.0 0.0 3.5 GB

A framework designed to organize experiments

License: MIT License

Python 8.04% Jupyter Notebook 91.96%

experiment-framework's Introduction

Attribute Combinations

Timothy Henry, Jamell Dozier

Getting Started

1. Data Synthesis

  1. Run "util/save_transformed.py" with the dataset of interest uncommented.
  2. The aforementioned script may fail if the dataset relies on no digit 9 examples being present. If this is the case, use "util/remove_9s.ipynb" to modify the downloaded raw dataset before rerunning "util/data_synthesis/main.py".

2. Training

usage: python main.py [-h] --input INPUT --model MODEL --experiment EXPERIMENT

example: python main.py --input colored_mnist --model resnet18 --experiment controlled_bias_training

All arguments are required and each must refer to an entry in its corresponding "config/" file's "options" dict.

3. Analysis

  • Behavioral

  1. In "util/results_plotting.ipynb", fill the desired experiment parameters in and run
  • Neural

- Activations
  1. Generate dataset for analysis using "util/save_dataset.ipynb"
  2. TODO(Jamell)
- Selectivity / Invariance
  1. Generate dataset for selectivity and invariance calculation using "util/invariance_data.ipynb"
  2. TODO(Jamell)

Additional Usages

1. Loss Weight Tuning

Use "util/results_plotting_loss_weight_tuning

2. Dataset Visualization

Use the notebooks within "util/data_visualization"

3. Combination Space Subdivision

Use "util/generalized combinations.ipynb"

4. Finding Raw Experiment Output Files

Use "util/db.ipynb" to filter through and get timestamps and directories for experiments under some criteria

experiment-framework's People

Contributors

tim-henry 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.