Class ATSFactory
- java.lang.Object
-
- org.processmining.variantfinder.algorithms.annotatedtransitionsystems.ATSFactory
-
public class ATSFactory extends java.lang.ObjectClass used to create annotated transition systems- Author:
- abolt
-
-
Constructor Summary
Constructors Constructor Description ATSFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static weka.core.InstancesbuildInstances(AnnotationElementXEvent annotationEvents, java.util.List<java.lang.String> attributes, java.lang.String classAttribute, int instanceNum)Creates a set of instances (weka) that can be used to build a classifierstatic AnnotatedTransitionSystemImplcreateATS(org.processmining.framework.plugin.PluginContext context, EventTranslator et, org.deckfour.xes.model.XLog log)Method to create an annotated transition system based on selected event attributes.
-
-
-
Method Detail
-
createATS
public static AnnotatedTransitionSystemImpl createATS(org.processmining.framework.plugin.PluginContext context, EventTranslator et, org.deckfour.xes.model.XLog log)
Method to create an annotated transition system based on selected event attributes.- Parameters:
context-et- (provides the mappings between events and elements of the transition system)log- (This log will be enriched, make sure that you give this method a clone and not the original)attributes- (only these will be used as annotations, besides the standards)- Returns:
- ATS
-
buildInstances
public static weka.core.Instances buildInstances(AnnotationElementXEvent annotationEvents, java.util.List<java.lang.String> attributes, java.lang.String classAttribute, int instanceNum)
Creates a set of instances (weka) that can be used to build a classifier- Parameters:
ats-tsElement-attributes- The last element in this list is the class attributeinstanceNum-- Returns:
-
-