Interface IEvaluation

  • All Superinterfaces:
    Serializable

    public interface IEvaluation
    extends Serializable
    interface for customized evaluation
    Author:
    hzx
    • Method Detail

      • getMetric

        String getMetric()
        get evaluate metric
        Returns:
        evalMetric
      • eval

        float eval​(float[][] predicts,
                   DMatrix dmat)
        evaluate with predicts and data
        Parameters:
        predicts - predictions as array
        dmat - data matrix to evaluate
        Returns:
        result of the metric