java.lang.Object
com.pervasive.datarush.analytics.pmml.ModelQuality
- Direct Known Subclasses:
PredictiveModelQuality
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final StringThe name of the "dataName" PMML attribute corresponding to getDataName() -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidInitialize this object's state from a PMML element with the appropriate typevoidsetDataName(String dataName) Record a label for the source dataset used to calculate the model quality information.static ModelQualitysmartParse(Element toParse) abstract voidBuild this ModelQuality as a PMML element with a given parent
-
Field Details
-
ATT_DATA_NAME
The name of the "dataName" PMML attribute corresponding to getDataName()- See Also:
-
-
Constructor Details
-
ModelQuality
public ModelQuality()
-
-
Method Details
-
toPMML
Build this ModelQuality as a PMML element with a given parent- Parameters:
parent- the future parent of the element
-
smartParse
- Parameters:
toParse- an element corresponding to a model quality 'choice' element.- Returns:
- a ModelQuality of an appropriate subclass, or null if the element is not of a supported type of ModelQuality.
-
setDataName
Record a label for the source dataset used to calculate the model quality information.- Parameters:
dataName-
-
getDataName
- Returns:
- a label for the source dataset used to calculate the model quality information, or null if it's unknown or unavailable.
-
parse
Initialize this object's state from a PMML element with the appropriate type- Parameters:
toParse- The element with the state- Throws:
InvalidPMMLException- if toParse is not legal PMML or of the wrong typeUnsupportedPMMLException- (optionally) if toParse specifies an unsupported kind of sub-element
-