Package com.groiss.ml.classifier
Interface ClassifierAssignment
- All Superinterfaces:
KeyValuePair<String,
,String> Persistent
,Serializable
Representation of what classifier is used for what output field and which
input fields get used to do so.
-
Field Summary
Fields inherited from interface com.groiss.store.Persistent
emptyKeys
-
Method Summary
Modifier and TypeMethodDescriptionClass<? extends Classifier>
Returns theClass
of theClassifier
to be used by this classifier assignment.Returns the set of theClassifierOption
s defined for this classifier assignment.Returns the list of theField
s used as input field for this classifier assignmentReturns the date when this assignment was build at last.Returns the latestEvaluationResult
(if available) of this classifier assignment.getName()
Returns the name of this classifier assignment.Returns theField
specified as output field of this classifier assignmentReturns the PMML string of this classifier assignmentReturns theProcessDefinition
this classifier assignment is assigned to.getTasks()
Returns the list of theTask
s this classifier assignment is assigned to.boolean
isActive()
Returns true if this classifier assignment is active, false otherwise.Methods inherited from interface com.groiss.store.Persistent
afterDelete, afterInsert, afterRead, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, dbFields, getKey, getKeys, getLocalClassName, getLocalObjectName, getOid, getStore, getTableName, getValue, isFilled, isValid, setFilled, setOid, setOid, toListString
-
Method Details
-
getLatestEvaluationResult
Optional<EvaluationResult> getLatestEvaluationResult()Returns the latestEvaluationResult
(if available) of this classifier assignment.- Returns:
- the latest available evaluation result
-
getTasks
Returns the list of theTask
s this classifier assignment is assigned to.- Returns:
- the list of the tasks of this classifier assignment.
-
getInputFields
Returns the list of theField
s used as input field for this classifier assignment- Returns:
- the list of input fields
-
getOutputField
Field getOutputField()Returns theField
specified as output field of this classifier assignment- Returns:
- the output field
-
getClassifierOptionObjects
Set<ClassifierOption> getClassifierOptionObjects()Returns the set of theClassifierOption
s defined for this classifier assignment.- Returns:
- the list of the options for this classifier assignment.
-
getClassifierClass
Class<? extends Classifier> getClassifierClass()Returns theClass
of theClassifier
to be used by this classifier assignment.- Returns:
- the classifier class.
-
getProcessDefinition
ProcessDefinition getProcessDefinition()Returns theProcessDefinition
this classifier assignment is assigned to.- Returns:
- the process definition of this classifier assignment.
-
getName
String getName()Returns the name of this classifier assignment. If available it is guaranteed that it is unique within all classifier assignments of the saveProcessDefinition
.- Returns:
- the name of this classifier assignment.
-
isActive
boolean isActive()Returns true if this classifier assignment is active, false otherwise.- Returns:
- true if this classifier assignment is active, false otherwise
-
getLastBuild
Date getLastBuild()Returns the date when this assignment was build at last.- Returns:
- the date of the last building of this assignment.
-
getPMMLString
String getPMMLString()Returns the PMML string of this classifier assignment- Returns:
- the string representation of the PMML
-