public class QNModelReader extends AbstractModelReader
dataReader, NUM_PREDS| Constructor and Description |
|---|
QNModelReader(DataReader dataReader) |
QNModelReader(File file) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkModelType() |
AbstractModel |
constructModel() |
protected Context[] |
getParameters() |
getModel, getOutcomePatterns, getOutcomes, getParameters, getPredicates, readDouble, readInt, readUTFpublic QNModelReader(DataReader dataReader)
public QNModelReader(File file) throws IOException
IOExceptionpublic void checkModelType()
throws IOException
checkModelType in class AbstractModelReaderIOExceptionpublic AbstractModel constructModel() throws IOException
constructModel in class AbstractModelReaderIOExceptionprotected Context[] getParameters() throws IOException
IOExceptionCopyright © 2019 The Apache Software Foundation. All rights reserved.