public class CoxPHModel extends hex.SupervisedModel<CoxPHModel,CoxPHModel.CoxPHParameters,CoxPHModel.CoxPHOutput>
| Modifier and Type | Class and Description |
|---|---|
static class |
CoxPHModel.CoxPHOutput |
static class |
CoxPHModel.CoxPHParameters |
| Constructor and Description |
|---|
CoxPHModel(water.Key destKey,
CoxPHModel.CoxPHParameters parms,
CoxPHModel.CoxPHOutput output) |
| Modifier and Type | Method and Description |
|---|---|
CoxPHModel.CoxPHParameters |
get_params() |
water.api.ModelSchema |
schema() |
float[] |
score0(double[] data,
float[] preds)
Predict from raw double values representing the data
|
java.lang.String |
toString() |
java.lang.String |
toStringAll() |
adapt, adapt, adapt, addWarning, checksum, computeModelMetrics, getDomainMapping, getDomainMapping, missingColumnsType, remove_impl, score, score, score, score, score, score, start_training, start_training, stop_trainingdelete_and_lock, delete, delete, delete, read_lock, read_lock, unlock_all, unlock, update, write_lockpublic CoxPHModel(water.Key destKey,
CoxPHModel.CoxPHParameters parms,
CoxPHModel.CoxPHOutput output)
public water.api.ModelSchema schema()
schema in class hex.Model<CoxPHModel,CoxPHModel.CoxPHParameters,CoxPHModel.CoxPHOutput>public final CoxPHModel.CoxPHParameters get_params()
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toStringAll()
public float[] score0(double[] data,
float[] preds)
score0 in class hex.Model<CoxPHModel,CoxPHModel.CoxPHParameters,CoxPHModel.CoxPHOutput>data - raw array containing categorical values (horizontalized to 1,0,0,1,0,0 etc.) and numerical values (0.35,1.24,5.3234,etc), both can contain NaNspreds - predicted label and per-class probabilities (for classification), predicted target (regression), can contain NaNs