maths.errorfunctions.IVectorErrorRealFunction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jstat Show documentation
Show all versions of jstat Show documentation
Java Library for Statistical Analysis.
The newest version!
package maths.errorfunctions;
import datasets.VectorDouble;
import datastructs.I2DDataSet;
public interface IVectorErrorRealFunction {
/**
* Evaluate the error function using the given data, labels
* @param data
* @param labels
* @return
*/
double evaluate(DataSetType data, VectorDouble labels);
/**
* Returns the gradients on the given data
*/
VectorDouble gradients(DataSetType data, VectorDouble labels);
}