Class LogisticRegressionWeightFitter
- java.lang.Object
-
- org.processmining.stochasticlabelleddatapetrinet.weights.fitting.LogisticRegressionWeightFitter
-
- All Implemented Interfaces:
WeightFitter
public class LogisticRegressionWeightFitter extends java.lang.Object implements WeightFitter
Fits a logistic regression using WEKA to the observations and adds the respective WeightFunction to the transitions. Assumes that transition labels and variable names in the given SLDPN exactly match the attributes in the event log based on the provided classifier.- Author:
- F. Mannhardt
-
-
Constructor Summary
Constructors Constructor Description LogisticRegressionWeightFitter(org.deckfour.xes.classification.XEventClassifier classifier)LogisticRegressionWeightFitter(org.deckfour.xes.classification.XEventClassifier classifier, boolean keepEvaluation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.processmining.plugins.balancedconformance.config.BalancedProcessorConfigurationconfigureAlignment(org.deckfour.xes.model.XLog log, PetrinetConverter.PetrinetMarkedWithMappings markedPN)StochasticLabelledDataPetriNetWeightsfit(org.deckfour.xes.model.XLog log, StochasticLabelledDataPetriNet net)java.util.Map<java.lang.Integer,weka.classifiers.evaluation.Evaluation>getEvaluations()
-
-
-
Constructor Detail
-
LogisticRegressionWeightFitter
public LogisticRegressionWeightFitter(org.deckfour.xes.classification.XEventClassifier classifier)
-
LogisticRegressionWeightFitter
public LogisticRegressionWeightFitter(org.deckfour.xes.classification.XEventClassifier classifier, boolean keepEvaluation)
-
-
Method Detail
-
getEvaluations
public java.util.Map<java.lang.Integer,weka.classifiers.evaluation.Evaluation> getEvaluations()
-
fit
public StochasticLabelledDataPetriNetWeights fit(org.deckfour.xes.model.XLog log, StochasticLabelledDataPetriNet net) throws WeightFitterException
- Specified by:
fitin interfaceWeightFitter- Throws:
WeightFitterException
-
configureAlignment
protected org.processmining.plugins.balancedconformance.config.BalancedProcessorConfiguration configureAlignment(org.deckfour.xes.model.XLog log, PetrinetConverter.PetrinetMarkedWithMappings markedPN)
-
-