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

Better way to add full class distributions at application time #80

Open johann-petrak opened 6 years ago

johann-petrak commented 6 years ago

Currently we add a list with the class distribution / scores and a list with the labels to every instance. Adding the label list to every instance is redundant, since the list is the same for all instances. However we need that list at least once to know which score index refers to which label.

One solution could be to assign the label list to a document feature once.