package de.jungblut.online.minimizer;
import de.jungblut.math.DoubleVector;
import de.jungblut.online.ml.FeatureOutcomePair;
public interface ValidationFinishedCallback {
/**
* This callback when a pass over an example in a stream of a minimization
* objective is finished.
*
* @param pass the number of the current pass.
* @param iteration the number of the current iteration.
* @param cost the cost at the current iteration.
* @param currentWeights the current optimal weights.
* @param validation true if this iteration was used for validation.
* @param the feature/outcome pair used to validate
*/
public void onValidationFinished(int pass, long iteration, double cost,
DoubleVector currentWeights, FeatureOutcomePair pair);
}