Interface IEvaluation

All Superinterfaces:
Serializable

public interface IEvaluation extends Serializable
interface for customized evaluation
  • Method Summary

    Modifier and Type
    Method
    Description
    float
    eval(float[][] predicts, DMatrix dmat)
    evaluate with predicts and data
    get evaluate metric
  • Method Details

    • 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