- pytorch
- joblib
- sklearn
- numpy
- scipy
- matplotlib
- tqdm
- matlab (tested with 2018b)
#find
cd <matlabroot>/extern/engines/python
python setup.py install
cd ..
# check the configuration in settings.py
python -m MMI.main
- go to
model/
- create a new class (see mine.py/linear_regression.py for example)
- must contain the predict function (given a N by 2 matrix, return the MI estimator (float))
- go to settings.py, add the corresponding configuration in the variable model
- go to
data/
- create a new class (see bimodal.py for example)
- must contain the two property: data and ground_truth (see bimodal.py for example)
- go to settings.py, add the corresponding configuration in the variable data