This is the code to run the program associated with the paper: "Tangles: from weak to strong clustering".
The program can be used in two ways:
- Set the paramenters in
settings.yml
and then runpython main.py
. This is the prefered way the program is intended to be used. - Pass a set of parameter to
python main.py
that overrides the parameters insettings.yml
. Paramenters that are not set default to the one specified insettings.yml
. This is how we can run bulk experiments in parallel.
Example: python main.py --id 1591047201 -t mindsets -p features -a 10 -s 10 -o 10 --mind_sizes 40 40 --mind_questions 40 --mind_useless 40 --mind_noise 0.1 --no_plots
-
Specification of dependencies: We provide a
requirements.txt
file in the zip. -
Training / Evaluation code: We provide such code in the
src
folder. -
Pre-trained models: Not applicable, our model trains in less than a minute.
-
Table of results with paramentes: The majority of our experiments are comparisons among different sets of paramenter in order to investigate the properties of the new algorithm that we are introducing. Each experiment was created using the
make_experiment.py
file. Each experiment was averaged over 10 runs with seeds 10-100. By usingmake_experiments.py
you can recreate the list of parameters for each experiment. The parameters are given in the paper near every figure.