public class PerceptronModelReader extends AbstractModelReader
Constructor and Description |
---|
PerceptronModelReader(DataReader dataReader) |
PerceptronModelReader(java.io.File file) |
Modifier and Type | Method and Description |
---|---|
void |
checkModelType() |
AbstractModel |
constructModel()
Retrieve a model from disk.
|
getModel, readDouble, readInt, readUTF
public PerceptronModelReader(java.io.File file) throws java.io.IOException
java.io.IOException
public PerceptronModelReader(DataReader dataReader)
public AbstractModel constructModel() throws java.io.IOException
If you are creating a reader for a format which won't work with this (perhaps a database or xml file), override this method and ignore the other methods provided in this abstract class.
constructModel
in class AbstractModelReader
java.io.IOException
public void checkModelType() throws java.io.IOException
checkModelType
in class AbstractModelReader
java.io.IOException
Copyright © 2010 - 2020 Adobe. All Rights Reserved