Closed apmcleod closed 5 years ago
This adds a --weight option to train_tasks.py, which passes a weight for each class to the optimizer, inversely proportional to that class's count in the train set.
This also renames eval_script to eval_task (like train_task)
This adds a --weight option to train_tasks.py, which passes a weight for each class to the optimizer, inversely proportional to that class's count in the train set.
This also renames eval_script to eval_task (like train_task)