public class PlainTextPerceptronModelReader extends PerceptronModelReader
| Constructor and Description |
|---|
PlainTextPerceptronModelReader(BufferedReader br)
Constructor which directly instantiates the BufferedReader containing
the model contents.
|
PlainTextPerceptronModelReader(File f)
Constructor which takes a File and creates a reader for it.
|
checkModelType, constructModelgetModel, readDouble, readInt, readUTFpublic PlainTextPerceptronModelReader(BufferedReader br)
br - The BufferedReader containing the model information.public PlainTextPerceptronModelReader(File f) throws IOException
f - The File in which the model is stored.IOExceptionCopyright © 2015 The Apache Software Foundation. All rights reserved.