Run this Google Colab.
Install prerequisite packages:
pip install -r requirements.txtGenerate synthetic dataset:
python src/demo/sample_dataset.pypython <method_file> --exp_idx=<idx>where the parameters are the following:
<method_file>: file stored the code of method in thesrc/demo/folder. E.g.,<method_file> = src/demo/neural_MLE.py<idx>: index of experiment. E.g.,<idx> = 1
python <method_file> --exp_idx=<idx>where the parameters are the following:
<method_file>: file stored the code of method in thesrc/. E.g.,<method_file> = src/neural_MLE.py<idx>: index of experiment. E.g.,<idx> = 1
Based on code of:
neural_exploration
github.
NeuralUCB
github.
Supplementary Material
openreview.
This source code is released under the Apache-2.0 license, included here.