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

hex.schemas.IsolationForestModelV3 Maven / Gradle / Ivy

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

import hex.tree.isofor.IsolationForestModel;
import water.api.API;
import water.api.schemas3.TwoDimTableV3;

public class IsolationForestModelV3 extends SharedTreeModelV3 {

  public static final class IsolationForestModelOutputV3 extends SharedTreeModelV3.SharedTreeModelOutputV3 {

    @API(help="Variable Splits", direction=API.Direction.OUTPUT, level = API.Level.secondary)
    public TwoDimTableV3 variable_splits;

  }

  public IsolationForestV3.IsolationForestParametersV3 createParametersSchema() { return new IsolationForestV3.IsolationForestParametersV3(); }
  public IsolationForestModelOutputV3 createOutputSchema() { return new IsolationForestModelOutputV3(); }

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

  // Version&Schema-specific filling into the impl
  @Override public IsolationForestModel createImpl() {
    IsolationForestV3.IsolationForestParametersV3 p = this.parameters;
    IsolationForestModel.IsolationForestParameters parms = p.createImpl();
    return new IsolationForestModel( model_id.key(), parms, new IsolationForestModel.IsolationForestOutput(null) );
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy