ml.dmlc.xgboost4j.java

## Interface IEvaluation

- All Superinterfaces:
    Serializable

      public interface IEvaluation
      extends Serializable

  interface for customized evaluation
  Author:
    hzx

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `float` | `eval(float[][] predicts, DMatrix dmat)` evaluate with predicts and data
    `String` | `getMetric()` get evaluate metric

- - ### 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

Copyright © 2018. All rights reserved.