org.activemath.studentmodel2.evaluation
Class UlogReplayStepPredictor

java.lang.Object
  extended by org.activemath.studentmodel2.evaluation.UlogReplayStepPredictor

public class UlogReplayStepPredictor
extends Object

This class replays ulogs and evaluates the LearnerModel in the following way:
Before every issuing of an ExerciseStepEvent (SLM) or ExerciseFinishedEvent (xLM), a prediction of the achievement of this exercise done by the user is made (based on the LM mastery estimation and the exercise difficulty) and veryfied with the real achievement. This results in a prediction error which will be stored in this class for later reporting.

Version:
Aug. 28, 2007

Field Summary
protected static Logger log
           
 
Constructor Summary
UlogReplayStepPredictor()
           
 
Method Summary
 EvalReport createReport()
          Creates a Report for a stepwise prediction eval
 Map getExerciseMap()
           
 String getLearnerModelName()
           
 double getProximity()
           
 Map getUserMap()
           
 boolean run()
          Run the stepwise evaluation.
 void setExerciseMap(Map exerciseMap)
           
 void setLearnerModelName(String learnerModelName)
           
 void setProximity(double proximity)
           
 void setUserMap(Map userMap)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static Logger log
Constructor Detail

UlogReplayStepPredictor

public UlogReplayStepPredictor()
Method Detail

run

public boolean run()
Run the stepwise evaluation.

Parameters:
iterationCount - - how may times per ulog should the Eval run, because estimation is probability based
Returns:
true if eval run completed successfully, false otherwise

createReport

public EvalReport createReport()
Creates a Report for a stepwise prediction eval

Returns:
The EvalReport

getLearnerModelName

public String getLearnerModelName()
Returns:
the learnerModelName

setLearnerModelName

public void setLearnerModelName(String learnerModelName)
Parameters:
learnerModelName - the learnerModelName to set

getExerciseMap

public Map getExerciseMap()
Returns:
the exerciseMap

setExerciseMap

public void setExerciseMap(Map exerciseMap)
Parameters:
exerciseMap - the exerciseMap to set

getUserMap

public Map getUserMap()
Returns:
the userMap

setUserMap

public void setUserMap(Map userMap)
Parameters:
userMap - the userMap to set

getProximity

public double getProximity()
Returns:
the proximity

setProximity

public void setProximity(double proximity)
Parameters:
proximity - the proximity to set