|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.android.activityminer.pmml.model.PMML
public class PMML
The pmml root representation (without header, mining build task, transformation dictionary and extensions ). For now just the nearest neighbor model element is supported.
Field Summary | |
---|---|
private DataDictionary |
dataDictionary
The data dictionary |
private List<Extension> |
extensions
The extensions |
private Header |
header
The header |
private List<ModelElement> |
modelElements
The model elements |
private String |
version
The version attribute |
static String |
VERSION_4_2
The default version for new created PMML models |
Constructor Summary | |
---|---|
PMML()
Constructor |
Method Summary | |
---|---|
DataDictionary |
getDataDictionary()
Getter for the data dictionary |
List<Extension> |
getExtensions()
Getter for the extensions |
Header |
getHeader()
Getter for the header |
List<ModelElement> |
getModelElements()
Getter for the model elements |
String |
getVersion()
Getter for the version |
void |
setDataDictionary(DataDictionary dataDictionary)
Setter for the data dictionary |
void |
setExtensions(List<Extension> extensions)
Setter for the extensions |
void |
setHeader(Header header)
Setter for the header |
void |
setModelElements(List<ModelElement> modelElements)
Setter for the model elements |
void |
setVersion(String version)
Setter for the version |
String |
toXML()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String VERSION_4_2
private String version
private Header header
private DataDictionary dataDictionary
private List<ModelElement> modelElements
private List<Extension> extensions
Constructor Detail |
---|
public PMML()
Method Detail |
---|
public String getVersion()
public void setVersion(String version)
version
- the version to setpublic final Header getHeader()
public final void setHeader(Header header)
header
- the header to setpublic void setDataDictionary(DataDictionary dataDictionary)
dataDictionary
- the data dictionary to setpublic DataDictionary getDataDictionary()
public void setModelElements(List<ModelElement> modelElements)
modelElements
- the model elements to setpublic List<ModelElement> getModelElements()
public final List<Extension> getExtensions()
public final void setExtensions(List<Extension> extensions)
extensions
- the extensions to setpublic String toXML() throws Exception
toXML
in interface SerializableData
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |