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

Use a default output annotation set for classification/regression application PRs #15

Closed johann-petrak closed 8 years ago

johann-petrak commented 8 years ago

Set the default output annotation set name for the classification/regression application PRs to "LearningFramework" instead of leaving this parameter empty. This will make the PR create new annotations instead of setting the target feature on the original instance annotation. This is a bit safer and protects against accidentally overwriting the target feature, by default.

johann-petrak commented 8 years ago

This also requires changing all the application pipelines since they use LearningFramework as inputAS and outputAS. After the fix of #13 these pipelines will now create new annotations in the same set as where the original instance annotations come from. Instead we will set all the outputAS to "LFOUT"