All Downloads are FREE. Search and download functionalities are using the official Maven repository.

maths.errorfunctions.IVectorErrorRealFunction Maven / Gradle / Ivy

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);


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy