public class AbstractTrainerTool<T,P> extends AbstractEvaluatorTool<T,P>
Modifier and Type | Field and Description |
---|---|
protected TrainingParameters |
mlParams |
factory, params, sampleStream
paramsClass
type
Modifier | Constructor and Description |
---|---|
protected |
AbstractTrainerTool(Class<T> sampleType,
Class<P> params)
Constructor with type parameters.
|
Modifier and Type | Method and Description |
---|---|
protected TerminateToolException |
createTerminationIOException(IOException e) |
run
getHelp
getBasicHelp, getHelp, getStreamFactory, validateAllArgs, validateFactoryArgs
getBasicHelp, getName, getShortDescription, hasParams, validateAndParseParams
protected TrainingParameters mlParams
protected TerminateToolException createTerminationIOException(IOException e)
Copyright © 2017 The Apache Software Foundation. All rights reserved.