hex.schemas.CoxPHV3 Maven / Gradle / Ivy
package hex.schemas;
import hex.coxph.CoxPH;
import hex.coxph.CoxPHModel.CoxPHParameters;
import water.api.API;
import water.api.schemas3.FrameV3;
import water.api.schemas3.ModelParametersSchemaV3;
import water.api.schemas3.StringPairV3;
public class CoxPHV3 extends ModelBuilderSchema {
public static final class CoxPHParametersV3 extends ModelParametersSchemaV3 {
public static String[] fields = new String[] {
"model_id",
"training_frame",
"start_column",
"stop_column",
"response_column",
"ignored_columns",
"weights_column",
"offset_column",
"stratify_by",
"ties",
"init",
"lre_min",
"max_iterations",
"interactions",
"interaction_pairs",
"interactions_only",
"use_all_factor_levels",
"export_checkpoints_dir",
"single_node_mode"
};
@API(help="Start Time Column.", direction = API.Direction.INOUT,
is_member_of_frames = {"training_frame"}, is_mutually_exclusive_with = {"ignored_columns"})
public FrameV3.ColSpecifierV3 start_column;
@API(help="Stop Time Column.", direction = API.Direction.INOUT,
is_member_of_frames = {"training_frame"}, is_mutually_exclusive_with = {"ignored_columns"})
public FrameV3.ColSpecifierV3 stop_column;
@API(help="List of columns to use for stratification.", direction = API.Direction.INOUT)
public String[] stratify_by;
@API(help="Method for Handling Ties.", values = {"efron", "breslow"}, direction = API.Direction.INOUT)
public CoxPHParameters.CoxPHTies ties;
@API(help="Coefficient starting value.", direction = API.Direction.INOUT)
public double init;
@API(help="Minimum log-relative error.", direction = API.Direction.INOUT)
public double lre_min;
@API(help="Maximum number of iterations.", direction = API.Direction.INOUT)
public int max_iterations;
@API(help="A list of columns that should only be used to create interactions but should not itself participate in model training.", direction=API.Direction.INPUT, level=API.Level.expert)
public String[] interactions_only;
@API(help="A list of predictor column indices to interact. All pairwise combinations will be computed for the list.", direction= API.Direction.INPUT, level= API.Level.expert)
public String[] interactions;
@API(help="A list of pairwise (first order) column interactions.", direction= API.Direction.INPUT, level= API.Level.expert)
public StringPairV3[] interaction_pairs;
@API(help="(Internal. For development only!) Indicates whether to use all factor levels.",
direction = API.Direction.INPUT, level = API.Level.expert, gridable=true)
public boolean use_all_factor_levels;
@API(level = API.Level.expert, direction = API.Direction.INOUT, help = "Run on a single node to reduce the effect of network overhead (for smaller datasets)")
public boolean single_node_mode;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy