make IEvaluation serializable (#1487)

This commit is contained in:
Nan Zhu 2016-08-19 13:12:39 -04:00 committed by GitHub
parent f8fb18675e
commit 70432cac5b

View File

@ -15,12 +15,14 @@
*/
package ml.dmlc.xgboost4j.java;
import java.io.Serializable;
/**
* interface for customized evaluation
*
* @author hzx
*/
public interface IEvaluation {
public interface IEvaluation extends Serializable {
/**
* get evaluate metric
*