public class ATSFactory
extends java.lang.Object
Constructor and Description |
---|
ATSFactory() |
Modifier and Type | Method and Description |
---|---|
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
|
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.
|
public static AnnotatedTransitionSystemImpl createATS(org.processmining.framework.plugin.PluginContext context, EventTranslator et, org.deckfour.xes.model.XLog log)
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)public static weka.core.Instances buildInstances(AnnotationElementXEvent annotationEvents, java.util.List<java.lang.String> attributes, java.lang.String classAttribute, int instanceNum)
ats
- tsElement
- attributes
- The last element in this list is the class attributeinstanceNum
-