GateNLP / gateplugin-LearningFramework

A plugin for the GATE language technology framework for training and using machine learning models. Currently supports Mallet (MaxEnt, NaiveBayes, CRF and others), LibSVM, Scikit-Learn, Weka, and DNNs through Pytorch and Keras.
https://gatenlp.github.io/gateplugin-LearningFramework/
GNU Lesser General Public License v2.1
26 stars 6 forks source link

Detect and handle no-instance training situation #97

Closed johann-petrak closed 5 years ago

johann-petrak commented 5 years ago

If there are no training instances in the whole set, at least for the Dense JSON backends, the LF happily creates an empty training set file and starts training.

This should get detected by the plugin and training not get started.