org.jpmml.manager
Class MiningModelManager
java.lang.Object
org.jpmml.manager.PMMLManager
org.jpmml.manager.ModelManager<MiningModel>
org.jpmml.manager.MiningModelManager
- All Implemented Interfaces:
- Consumer
public class MiningModelManager
- extends ModelManager<MiningModel>
| 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 |
MiningModelManager
public MiningModelManager()
MiningModelManager
public MiningModelManager(PMML pmml)
MiningModelManager
public MiningModelManager(PMML pmml,
MiningModel miningModel)
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.