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

hex.genmodel.attributes.ModelAttributesGLM Maven / Gradle / Ivy

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

import com.google.gson.JsonObject;
import hex.genmodel.MojoModel;
import hex.genmodel.attributes.parameters.VariableImportancesHolder;

public class ModelAttributesGLM extends ModelAttributes implements VariableImportancesHolder {

  public final Table _coefficients_table;
  private final VariableImportances _variableImportances;

  public ModelAttributesGLM(MojoModel model, JsonObject modelJson) {
    super(model, modelJson);
    _coefficients_table = ModelJsonReader.readTable(modelJson, "output.coefficients_table");
    _variableImportances = VariableImportances.extractFromJson(modelJson);
  }

  public VariableImportances getVariableImportances(){
    return _variableImportances;
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy