public class GISModelReader extends AbstractModelReader
dataReader, NUM_PREDS| Constructor and Description |
|---|
GISModelReader(DataReader dataReader) |
GISModelReader(File file) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkModelType() |
AbstractModel |
constructModel()
Retrieve a model from disk.
|
protected int |
getCorrectionConstant() |
protected double |
getCorrectionParameter() |
getModel, getOutcomePatterns, getOutcomes, getParameters, getPredicates, readDouble, readInt, readUTFpublic GISModelReader(File file) throws IOException
IOExceptionpublic GISModelReader(DataReader dataReader)
public AbstractModel constructModel() throws 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 AbstractModelReaderIOExceptionpublic void checkModelType()
throws IOException
checkModelType in class AbstractModelReaderIOExceptionprotected int getCorrectionConstant()
throws IOException
IOExceptionprotected double getCorrectionParameter()
throws IOException
IOExceptionCopyright © 2019 The Apache Software Foundation. All rights reserved.