hex.schemas.GBMModelV3 Maven / Gradle / Ivy
package hex.schemas;
import hex.tree.gbm.GBMModel;
import water.api.ModelOutputSchema;
import water.api.ModelSchema;
public class GBMModelV3 extends SharedTreeModelV3 {
public static final class GBMModelOutputV3 extends SharedTreeModelV3.SharedTreeModelOutputV3 {}
public GBMV3.GBMParametersV3 createParametersSchema() { return new GBMV3.GBMParametersV3(); }
public GBMModelOutputV3 createOutputSchema() { return new GBMModelOutputV3(); }
//==========================
// Custom adapters go here
// Version&Schema-specific filling into the impl
@Override public GBMModel createImpl() {
GBMV3.GBMParametersV3 p = this.parameters;
GBMModel.GBMParameters parms = p.createImpl();
return new GBMModel( model_id.key(), parms, new GBMModel.GBMOutput(null, Double.NaN, Double.NaN) );
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy