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

hex.genmodel.algos.isofor.IsolationForestMojoReader Maven / Gradle / Ivy

There is a newer version: 3.46.0.5
Show newest version
package hex.genmodel.algos.isofor;

import hex.genmodel.algos.tree.SharedTreeMojoReader;

import java.io.IOException;

public class IsolationForestMojoReader extends SharedTreeMojoReader {

  @Override
  public String getModelName() {
    return "Isolation Forest";
  }

  @Override
  protected void readModelData() throws IOException {
    super.readModelData();
    _model._min_path_length = readkv("min_path_length", 0);
    _model._max_path_length = readkv("max_path_length", 0);
    _model._outputAnomalyFlag = readkv("output_anomaly_flag", false);
  }

  @Override
  protected IsolationForestMojoModel makeModel(String[] columns, String[][] domains, String responseColumn) {
    return new IsolationForestMojoModel(columns, domains, responseColumn);
  }

  @Override public String mojoVersion() {
    return "1.40";
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy