public class BinaryPerceptronModelReader extends PerceptronModelReader
| Constructor and Description |
|---|
BinaryPerceptronModelReader(java.io.DataInputStream dis)
Constructor which directly instantiates the DataInputStream containing
the model contents.
|
BinaryPerceptronModelReader(java.io.File f)
Constructor which takes a File and creates a reader for it.
|
checkModelType, constructModelgetModel, readDouble, readInt, readUTFpublic BinaryPerceptronModelReader(java.io.DataInputStream dis)
dis - The DataInputStream containing the model information.public BinaryPerceptronModelReader(java.io.File f)
throws java.io.IOException
f - The File in which the model is stored.java.io.IOExceptionCopyright © 2010 - 2023 Adobe. All Rights Reserved