org.activemath.studentmodel2.evaluation
Class UlogReplayStepPredictor
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static Logger log
UlogReplayStepPredictor
public UlogReplayStepPredictor()
run
public boolean run()
- Run the stepwise evaluation.
- recreate the events
- do estimation of exercise achievements
- store error in prediction
- and play the event such that the LearnerModel can update its
mastery estimation
- 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