public class PlainTextPerceptronModelReader extends PerceptronModelReader
Constructor and Description |
---|
PlainTextPerceptronModelReader(java.io.BufferedReader br)
Constructor which directly instantiates the BufferedReader containing
the model contents.
|
PlainTextPerceptronModelReader(java.io.File f)
Constructor which takes a File and creates a reader for it.
|
checkModelType, constructModel
getModel, readDouble, readInt, readUTF
public PlainTextPerceptronModelReader(java.io.BufferedReader br)
br
- The BufferedReader containing the model information.public PlainTextPerceptronModelReader(java.io.File f) throws java.io.IOException
f
- The File in which the model is stored.java.io.IOException
Copyright © 2010 - 2020 Adobe. All Rights Reserved