Package weka.core.pmml
Interface PMMLModel
-
- All Known Implementing Classes:
GeneralRegression,NeuralNetwork,PMMLClassifier,Regression
public interface PMMLModelInterface for all PMML models- Version:
- $Revision: 5562 $
- Author:
- Mark Hall (mhall{[at]}pentaho{[dot]}com)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetCreatorApplication()Get the name of the application that created this model.LoggergetLog()Get the logger.MiningSchemagetMiningSchema()Get the mining schema.java.lang.StringgetPMMLVersion()Get the version of PMML used to encode this model.voidsetCreatorApplication(org.w3c.dom.Document doc)Set the name of the application (if specified) that created this.voidsetLog(Logger log)Set a logger to use.voidsetPMMLVersion(org.w3c.dom.Document doc)Set the version of the PMML.
-
-
-
Method Detail
-
setPMMLVersion
void setPMMLVersion(org.w3c.dom.Document doc)
Set the version of the PMML.- Parameters:
doc- the Document encapsulating the pmml
-
getPMMLVersion
java.lang.String getPMMLVersion()
Get the version of PMML used to encode this model.- Returns:
- the version as a String
-
setCreatorApplication
void setCreatorApplication(org.w3c.dom.Document doc)
Set the name of the application (if specified) that created this. model- Parameters:
doc- the Document encapsulating the pmml
-
getCreatorApplication
java.lang.String getCreatorApplication()
Get the name of the application that created this model.- Returns:
- the name of the creating application or null if not specified in the pmml.
-
getMiningSchema
MiningSchema getMiningSchema()
Get the mining schema.- Returns:
- the mining schema
-
setLog
void setLog(Logger log)
Set a logger to use.- Parameters:
log- the logger to use
-
getLog
Logger getLog()
Get the logger.- Returns:
- the logger (or null if none is being used)
-
-