This experiment focuses on comparing the detection results of info-detection with other methods on artificial and real-world dataset.
To replicate the experiment, you should use python3
and follow steps below:
pip3 install --user -r requirements.txt
- run
python3 demo.py
to generate the boundary curve figure. - run
mkdir -p build && cp parameter.json build/ && python3 schema.py
to generate result LaTeX table in build directory. We usesacred
library to organize our experiment. If proper environment variable is set, the result can be saved to mongo database for further reference.
Result:
To tune the hyper parameters of different methods, there are several preliminaries needed to be done:
-
Create a file called
conf.yaml
fromconf-sample.yaml
. -
Set up
mongodb
database, exportUSE_MONGO=1
environment variables. -
Create a new database
sacred
inmongodb
with root user. Set up a user inuser-data
authentication database with usernameadmin
and passwordabc
. GrantReadWrite
privileges to theadmin
user.
After finishing the above preliminaries. You can modify conf.yaml
before running evaluation.py
. Then each experiment record is written to the database. Also, omniboard is recommended to visualize the experiment results from multiple run.