public class ParserCrossValidator extends Object
Constructor and Description |
---|
ParserCrossValidator(String languageCode,
TrainingParameters params,
HeadRules rules,
ParserType parserType,
ParserEvaluationMonitor... monitors) |
Modifier and Type | Method and Description |
---|---|
void |
evaluate(ObjectStream<Parse> samples,
int nFolds) |
FMeasure |
getFMeasure() |
public ParserCrossValidator(String languageCode, TrainingParameters params, HeadRules rules, ParserType parserType, ParserEvaluationMonitor... monitors)
public void evaluate(ObjectStream<Parse> samples, int nFolds) throws IOException
IOException
public FMeasure getFMeasure()
Copyright © 2018 The Apache Software Foundation. All rights reserved.