public class ModelStats extends Object
Modifier and Type | Field and Description |
---|---|
gov.sandia.cognition.math.matrix.Matrix |
bias
The bias from the model
|
gov.sandia.cognition.math.matrix.Matrix |
correctY
The value of Y for this round of the model
|
gov.sandia.cognition.math.matrix.Matrix |
estimatedY
The estimated value of Y for this round of the model
|
Map<String,SortedImportantWords> |
importantWords
The sorted important words of the model after this round
|
IncrementalBilinearSparseOnlineLearner |
learner
The current model
|
double |
score
The score of the model estimating the the data before this round
|
Map<String,Pair<Double>> |
taskWordMinMax
the min/max params of each task
|
Map<String,Pair<Double>> |
userMinMax
The min and max values for each user
|
Constructor and Description |
---|
ModelStats()
A new learner, no meaningful important words and a loss of 0
|
ModelStats(BilinearEvaluator eval,
IncrementalBilinearSparseOnlineLearner learner,
Context in)
The model and its associated loss
|
Modifier and Type | Method and Description |
---|---|
void |
printSummary() |
public double score
public Map<String,SortedImportantWords> importantWords
public IncrementalBilinearSparseOnlineLearner learner
public Map<String,Pair<Double>> taskWordMinMax
public gov.sandia.cognition.math.matrix.Matrix correctY
public gov.sandia.cognition.math.matrix.Matrix estimatedY
public gov.sandia.cognition.math.matrix.Matrix bias
public Map<String,Pair<Double>> userMinMax
public ModelStats()
public ModelStats(BilinearEvaluator eval, IncrementalBilinearSparseOnlineLearner learner, Context in)
eval
- learner
- in
- public void printSummary()