public abstract class ModelQuality extends Object
Modifier and Type | Field and Description |
---|---|
protected static String |
ATT_DATA_NAME
The name of the "dataName" PMML attribute corresponding to getDataName()
|
Constructor and Description |
---|
ModelQuality() |
Modifier and Type | Method and Description |
---|---|
String |
getDataName() |
protected abstract void |
parse(Element toParse)
Initialize this object's state from a PMML element with the appropriate type
|
void |
setDataName(String dataName)
Record a label for the source dataset used to calculate the model quality information.
|
static ModelQuality |
smartParse(Element toParse) |
abstract void |
toPMML(Element parent)
Build this ModelQuality as a PMML element with a given parent
|
protected static final String ATT_DATA_NAME
public abstract void toPMML(Element parent)
parent
- the future parent of the elementpublic static ModelQuality smartParse(Element toParse)
toParse
- an element corresponding to a model quality 'choice' element.public void setDataName(String dataName)
dataName
- public String getDataName()
protected abstract void parse(Element toParse)
toParse
- The element with the stateInvalidPMMLException
- if toParse is not legal PMML or of the wrong typeUnsupportedPMMLException
- (optionally) if toParse specifies an unsupported kind of sub-elementCopyright © 2020 Actian Corporation. All rights reserved.