| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_ROOT_PACKAGE |
| Constructor and Description |
|---|
PMML4UnitImpl(org.dmg.pmml.pmml_4_2.descr.PMML rawPmml) |
PMML4UnitImpl(String pmmlSourcePath) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsMiningModel() |
Map<String,PMML4Model> |
getChildModels(String parentModelId)
Retrieves a Map whose entries consist of
key -> a model identifier
value -> the PMML4Model object that the key refers to
where the PMML4Model indicates that it
|
List<PMMLDataField> |
getDataDictionaryFields() |
Map<String,PMMLDataField> |
getDataDictionaryMap() |
Map<String,List<org.dmg.pmml.pmml_4_2.descr.MiningField>> |
getMiningFields()
Retrieves a Map with entries that consist of
key -> a model identifier
value -> the List of raw MiningField objects belonging to the model referenced by the key
|
List<org.dmg.pmml.pmml_4_2.descr.MiningField> |
getMiningFieldsForModel(String modelId)
Retrieves a List of the raw MiningField objects for a
given model
|
Map<String,String> |
getModelPackageNames() |
List<PMML4Model> |
getModels() |
Map<String,PMML4Model> |
getModels(PMML4ModelType type,
PMML4Model parent) |
Map<String,PMML4Model> |
getModelsMap() |
org.dmg.pmml.pmml_4_2.descr.PMML |
getRawPMML() |
Miningmodel |
getRootMiningModel() |
PMML4Model |
getRootModel() |
Map<String,PMML4Model> |
getRootModels()
Retrieves a Map with entries that consist of
key -> a model identifier
value -> the PMML4Model object that the key refers to
where the PMML4Model does not indicate a parent model (i.e. the
model is not a child model)
|
String |
getRootPackage() |
public static String DEFAULT_ROOT_PACKAGE
public PMML4UnitImpl(org.dmg.pmml.pmml_4_2.descr.PMML rawPmml)
public PMML4UnitImpl(String pmmlSourcePath)
public org.dmg.pmml.pmml_4_2.descr.PMML getRawPMML()
getRawPMML in interface PMML4Unitpublic List<org.dmg.pmml.pmml_4_2.descr.MiningField> getMiningFieldsForModel(String modelId)
modelId - The identifier of the model for which the list of MiningField objects is retrievedpublic Map<String,List<org.dmg.pmml.pmml_4_2.descr.MiningField>> getMiningFields()
public Map<String,PMML4Model> getModelsMap()
public Map<String,PMML4Model> getRootModels()
getRootModels in interface PMML4Unitpublic Miningmodel getRootMiningModel()
getRootMiningModel in interface PMML4Unitpublic Map<String,PMML4Model> getChildModels(String parentModelId)
parentModelId - public Map<String,PMML4Model> getModels(PMML4ModelType type, PMML4Model parent)
public PMML4Model getRootModel()
getRootModel in interface PMML4Unitpublic boolean containsMiningModel()
containsMiningModel in interface PMML4Unitpublic List<PMML4Model> getModels()
public List<PMMLDataField> getDataDictionaryFields()
getDataDictionaryFields in interface PMML4Unitpublic Map<String,PMMLDataField> getDataDictionaryMap()
getDataDictionaryMap in interface PMML4Unitpublic String getRootPackage()
getRootPackage in interface PMML4UnitCopyright © 2001–2018 JBoss by Red Hat. All rights reserved.