Code associated with:
Yang, S. C-H., Vong, W.K., Yu, Y., & Shafto, P. A unifying computational framework for teaching and active learning (submitted)
models: Contains the different models (active learning, teaching and self-teaching) used in the simulationsnotebooks: Contains various jupyter notebooks with worked examplesold_models: Original matlab code of Pat's original pedagogical sampling model for the causal graph task and unused modelssimulations: Code to run simulations (currently only self-teaching for the concept learning task)tests: Directory for test coderun_simulations.py: Main file to run the simulations and generate the figures from the paper
To run the simulations and produce the figures in the paper:
python run_simulations.pyTo run the tests:
pytestThe tests require pytest on your machine, which can be installed with the following:
pip install -U pytest