public class Chunk
extends java.lang.Object
Consolidation
to aggregate the confidences of time windows within a log trace which belong together.
These time windows are generated by a classification algorithm in a certain time distance and each consist of a probability distribution representing the confidence.
They are grouped and averaged into Alternative
s of a chunk to transfer the automatically generated classification log into a concise log that can be used for process mining techniques.Constructor and Description |
---|
Chunk() |
Chunk(java.lang.String label) |
Chunk(java.lang.String label,
java.util.ArrayList<Alternative> list) |
Modifier and Type | Method and Description |
---|---|
void |
addAlternativesFrom(Chunk c)
Copies alternatives from one chunk and adds it to another.
|
void |
addItem(org.deckfour.xes.model.impl.XAttributeMapImpl map)
Adds all probability information from a row into a chunk.
|
void |
computeAvg()
Computes average probability of most probable event Chunk.
|
java.util.ArrayList<Alternative> |
getAllAlternatives() |
double |
getAvg() |
java.lang.String |
getLabel() |
int |
getRowsInChunk() |
boolean |
moreThenOneMax()
Returns true if more than one max in current row,
else returns false.
|
void |
setAvg(double ownProbAvg) |
void |
setLabel(java.lang.String label) |
void |
setRowsInChunk(int rowsInChunk) |
java.lang.String |
toString() |
public Chunk()
public Chunk(java.lang.String label, java.util.ArrayList<Alternative> list)
public Chunk(java.lang.String label)
public double getAvg()
public void setAvg(double ownProbAvg)
public java.lang.String getLabel()
public void setLabel(java.lang.String label)
public java.util.ArrayList<Alternative> getAllAlternatives()
public void addItem(org.deckfour.xes.model.impl.XAttributeMapImpl map)
public void computeAvg()
public boolean moreThenOneMax()
public int getRowsInChunk()
public void setRowsInChunk(int rowsInChunk)
public void addAlternativesFrom(Chunk c)
public java.lang.String toString()
toString
in class java.lang.Object