Package weka.core.pmml
Interface PMMLModel
- All Known Implementing Classes:
GeneralRegression
,NeuralNetwork
,PMMLClassifier
,Regression
,RuleSetModel
,SupportVectorMachineModel
,TreeModel
public interface PMMLModel
Interface for all PMML models
- Version:
- $Revision: 8034 $
- Author:
- Mark Hall (mhall{[at]}pentaho{[dot]}com)
-
Method Summary
Modifier and TypeMethodDescriptionGet the name of the application that created this model.getLog()
Get the logger.Get the mining schema.Get the version of PMML used to encode this model.void
Set the name of the application (if specified) that created this.void
Set a logger to use.void
setPMMLVersion
(Document doc) Set the version of the PMML.
-
Method Details
-
setPMMLVersion
Set the version of the PMML.- Parameters:
doc
- the Document encapsulating the pmml
-
getPMMLVersion
String getPMMLVersion()Get the version of PMML used to encode this model.- Returns:
- the version as a String
-
setCreatorApplication
Set the name of the application (if specified) that created this. model- Parameters:
doc
- the Document encapsulating the pmml
-
getCreatorApplication
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
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)
-