- This repository contains files required to run and replicate the MMDiff association pattern clustering experiment.
- Instructions are provided further down this document.
- Check out this repository.
- Preferred operating system: Linux / OSX.
- Functioning anaconda https://www.anaconda.com package manager.
- Import the conda environment by running
conda env create -f Conda-env/environment.ymlfrom this project folder. - Activate the conda environment by running
source activate experiment_env.
- Check out the MMDiff3 package from github [NEEDS LINK].
- Start R.
- From R, load the package
devtoolsby runninglibrary("devtools"). - Install MMDiff by running
install("/Path/To/MMDiff/").
- Navigate to
MMDEpiClusterdirectory - Change permission of
setup.shto an executable file, i.e.chmod 700 ./setup.sh - Run
./setup.sh. This creates the working directoryExperiment_WD, and generates configuration files for the experiment. These will be located inExperiment_WD/Exp_conf - In order to generate testing configuration files navigate to
Experiment_WD/Exp_conf_test. From within this directory runpython3 ../../Simulation_Script/generate_config_test1.py&python3 ../../Simulation_Script/generate_config_test2.py
- Switch directories to
Experiment_WD. - From within
Experiment_WD, start up Jupyter by runningjupyter notebook. - In Jupyter, open the notebook Validation Experiment and execute all paragraphs.
- In Jupyter, open the Data Analysis notebook
- In paragraph 3, set
sim_wdvariable to point to the simulation directory - In paragraph 3, set
exp_wdvariable to point to the experiment directory to be analysed - Execute all paragraphs