org.mymedialite.eval
Class RatingPredictionEvaluationResults

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<java.lang.String,java.lang.Double>
          extended by org.mymedialite.eval.RatingPredictionEvaluationResults
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.String,java.lang.Double>

public class RatingPredictionEvaluationResults
extends java.util.HashMap<java.lang.String,java.lang.Double>

Rating prediction evaluation results. This class is basically a Dictionary with a custom-made toString() method.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>
 
Constructor Summary
RatingPredictionEvaluationResults()
           
 
Method Summary
 java.lang.String toString()
          Format rating prediction results.
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

RatingPredictionEvaluationResults

public RatingPredictionEvaluationResults()
Method Detail

toString

public java.lang.String toString()
Format rating prediction results. See http://recsyswiki.com/wiki/Root_mean_square_error and http://recsyswiki.com/wiki/Mean_absolute_error

Overrides:
toString in class java.util.AbstractMap<java.lang.String,java.lang.Double>
Returns:
a string containing the results