org.jpmml.manager
Class MiningModelManager

java.lang.Object
  extended by org.jpmml.manager.PMMLManager
      extended by org.jpmml.manager.ModelManager<MiningModel>
          extended by org.jpmml.manager.MiningModelManager
All Implemented Interfaces:
Consumer

public class MiningModelManager
extends ModelManager<MiningModel>


Constructor Summary
MiningModelManager()
           
MiningModelManager(PMML pmml)
           
MiningModelManager(PMML pmml, MiningModel miningModel)
           
 
Method Summary
 Segment addSegment(Model model)
           
 Segment addSegment(Predicate predicate, Model model)
           
 MiningModel createModel(MiningFunctionType miningFunction)
           
 Segmentation createSegmentation(MultipleModelMethodType multipleModelMethod)
           
 MiningModel getModel()
           
 Segmentation getSegmentation()
           
 List<Segment> getSegments()
           
 String getSummary()
          Returns a short description of the underlying Model
 
Methods inherited from class org.jpmml.manager.ModelManager
addField, addMiningField, ensureNotNull, ensureNull, getActiveFields, getMiningField, getMiningFields, getMiningSchema, getOrCreateLocalTransformations, getOrCreateOutput, getOutputField, getOutputFields, getPredictedFields, getTarget, resolve
 
Methods inherited from class org.jpmml.manager.PMMLManager
addDataField, find, find, findAll, getDataDictionary, getDataField, getHeader, getModel, getModelManager, getModelManager, getModels, getOrCreateTransformationDictionary, getPmml
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jpmml.manager.Consumer
getDataField
 

Constructor Detail

MiningModelManager

public MiningModelManager()

MiningModelManager

public MiningModelManager(PMML pmml)

MiningModelManager

public MiningModelManager(PMML pmml,
                          MiningModel miningModel)
Method Detail

getSummary

public String getSummary()
Description copied from interface: Consumer
Returns a short description of the underlying Model


getModel

public MiningModel getModel()
Specified by:
getModel in class ModelManager<MiningModel>

createModel

public MiningModel createModel(MiningFunctionType miningFunction)
Throws:
ModelManagerException - If the Model already exists
See Also:
getModel()

getSegmentation

public Segmentation getSegmentation()
Throws:
ModelManagerException - If the Segmentation does not exist

createSegmentation

public Segmentation createSegmentation(MultipleModelMethodType multipleModelMethod)
Throws:
ModelManagerException - If the Segmentation already exists

addSegment

public Segment addSegment(Model model)

addSegment

public Segment addSegment(Predicate predicate,
                          Model model)

getSegments

public List<Segment> getSegments()


Copyright © 2013 University of Tartu. All Rights Reserved.