public class BinaryPerceptronModelReader extends PerceptronModelReader
dataReader, NUM_PREDS| Constructor and Description |
|---|
BinaryPerceptronModelReader(DataInputStream dis)
Constructor which directly instantiates the DataInputStream containing
the model contents.
|
BinaryPerceptronModelReader(File f)
Constructor which takes a File and creates a reader for it.
|
checkModelType, constructModelgetModel, getOutcomePatterns, getOutcomes, getParameters, getPredicates, readDouble, readInt, readUTFpublic BinaryPerceptronModelReader(DataInputStream dis)
dis - The DataInputStream containing the model information.public BinaryPerceptronModelReader(File f) throws IOException
f - The File in which the model is stored.IOExceptionCopyright © 2019 The Apache Software Foundation. All rights reserved.