ispras-texterra / derek

DEREK (Domain Entities and Relations Extraction Kit)
GNU General Public License v3.0
10 stars 1 forks source link

Decompose param_search.py #21

Closed trifonov-vl closed 5 years ago

trifonov-vl commented 5 years ago

Currently we have param_search.py to run experiments with in-main-hardcoded logic. We need some interface to run experiment from code. I propose to add some class or function to train models in specified directory with dataset, props, lst, hook, number of seeds and unlabeled docs provided. Then this code can be employed by param_search.py Also we need public classes for datasets: CVDataset and HoldoutDataset.