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

hex.api.CoxPHBuilderHandler Maven / Gradle / Ivy

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

import hex.coxph.CoxPH;
import hex.schemas.CoxPHV2;
import water.H2O;
import water.api.ModelBuilderHandler;

public class CoxPHBuilderHandler extends ModelBuilderHandler {

  @Override protected CoxPHV2 schema(int version) {
    switch (version) {
      case 2:   { CoxPHV2 b = new CoxPHV2(); b.parameters = b.createParametersSchema(); return b; }
      default:  throw H2O.fail("Bad version for ModelBuilder schema: " + version);
    }
  }
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy