All Downloads are FREE. Search and download functionalities are using the official Maven repository.

hex.schemas.SharedTreeModelV2 Maven / Gradle / Ivy

There is a newer version: 3.46.0.6
Show newest version
package hex.schemas;

import hex.tree.SharedTreeModel;
import water.api.API;
import water.api.ModelOutputSchema;
import water.api.ModelSchema;
import water.util.PojoUtils;
//import water.util.DocGen.HTML;

public abstract class SharedTreeModelV2 extends ModelSchema {

  public abstract static class SharedTreeModelOutputV2 extends ModelOutputSchema {
    // Output fields; input fields are in the parameters list
    @API(help="Mean Square Error")
    public double mse;           // Total MSE, variance

    // Version&Schema-specific filling from the handler
    @Override public SharedTreeModelOutputV2 fillFromImpl( SharedTreeModel.SharedTreeOutput impl) {
      PojoUtils.copyProperties(this, impl, PojoUtils.FieldNaming.ORIGIN_HAS_UNDERSCORES);
      return this;
    }

  } // SharedTreeModelOutputV2

  //==========================
  // Custom adapters go here

  // Version&Schema-specific filling from the impl
  @Override public SharedTreeModelV2 fillFromImpl( SharedTreeModel kmm ) {
    return super.fillFromImpl(kmm);
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy