public interface ModelTrainingOperations
| Modifier and Type | Method and Description |
|---|---|
String |
trainMaxEntQN(ai.idylnlp.model.nlp.subjects.SubjectOfTrainingOrEvaluation subjectOfTraining,
String modelFile,
com.neovisionaries.i18n.LanguageCode language,
String encryptionKey,
int cutOff,
int iterations,
int threads,
double l1,
double l2,
int m,
int max)
Train a maxent model using quasi-newton.
|
String |
trainPerceptron(ai.idylnlp.model.nlp.subjects.SubjectOfTrainingOrEvaluation subjectOfTraining,
String modelFile,
com.neovisionaries.i18n.LanguageCode language,
String encryptionKey,
int cutOff,
int iterations)
Train a perceptron model using.
|
String trainMaxEntQN(ai.idylnlp.model.nlp.subjects.SubjectOfTrainingOrEvaluation subjectOfTraining, String modelFile, com.neovisionaries.i18n.LanguageCode language, String encryptionKey, int cutOff, int iterations, int threads, double l1, double l2, int m, int max) throws IOException
subjectOfTraining - The SubjectOfTrainingOrEvaluation.modelFile - The output model file.language - The language of the model.encryptionKey - The model's encryption key.cutOff - The training cutoff.iterations - The training iterations.threads - The number of training threads.l1 - l2 - m - max - IOException - Thrown if the model cannot be trained.String trainPerceptron(ai.idylnlp.model.nlp.subjects.SubjectOfTrainingOrEvaluation subjectOfTraining, String modelFile, com.neovisionaries.i18n.LanguageCode language, String encryptionKey, int cutOff, int iterations) throws IOException
subjectOfTraining - The SubjectOfTrainingOrEvaluation.modelFile - The output model file.language - The language of the model.encryptionKey - The model's encryption key.cutOff - The training cutoff.iterations - The training iterations.IOException - Thrown if the model cannot be trained.Copyright © 2018. All rights reserved.