public class BinaryPerceptronModelReader extends PerceptronModelReader
|Constructor and Description|
Constructor which directly instantiates the DataInputStream containing the model contents.
Constructor which takes a File and creates a reader for it.
getModel, readDouble, readInt, readUTF
public 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.
Copyright © 2017 The Apache Software Foundation. All rights reserved.