public class CoxPHModel extends hex.Model<CoxPHModel,CoxPHModel.CoxPHParameters,CoxPHModel.CoxPHOutput>
Modifier and Type | Class and Description |
---|---|
static class |
CoxPHModel.CoxPHOutput |
static class |
CoxPHModel.CoxPHParameters |
hex.Model.BigScore, hex.Model.DeepFeatures, hex.Model.ExemplarMembers, hex.Model.GetMostImportantFeatures, hex.Model.GLRMArchetypes, hex.Model.GridSortBy, hex.Model.InteractionPair, hex.Model.JavaModelStreamWriter, hex.Model.LeafNodeAssignment, hex.Model.Output, hex.Model.Parameters
Constructor and Description |
---|
CoxPHModel(water.Key destKey,
CoxPHModel.CoxPHParameters parms,
CoxPHModel.CoxPHOutput output) |
Modifier and Type | Method and Description |
---|---|
CoxPHModel.CoxPHParameters |
get_params() |
hex.ModelMetrics.MetricBuilder |
makeMetricBuilder(java.lang.String[] domain) |
water.api.schemas3.ModelSchemaV3 |
schema() |
double[] |
score0(double[] data,
double[] preds)
Predict from raw double values representing the data
|
java.lang.String |
toString() |
java.lang.String |
toStringAll() |
adaptTestForTrain, adaptTestForTrain, addMetrics, addModelMetrics, addWarning, auc, checksum_impl, classification_error, cleanup_adapt, closeBigScorePredict, compareTo, computeDeviances, data, defaultThreshold, deleteCrossValidationModels, deviance, deviance, fillScoringInfo, getDefaultGridSortBy, getMojo, getToEigenVec, isSupervised, last_scored, lift_top_group, logloss, loss, mae, makeBigScoreTask, makeInteraction, makeInteractions, makeInteractions, makeSchema, makeScoringNames, mean_per_class_error, mse, postProcessPredictions, predictScoreImpl, readAll_impl, remove_impl, rmsle, score, score, score, score, score, score0, score0, score0, scoreMetrics, scoring_history, scoringDomains, setupBigScorePredict, testJavaScoring, testJavaScoring, testJavaScoring, toJava, toJava, toJava, toJavaCheckTooBig, toJavaInit, toJavaNCLASSES, toJavaPredictBody, toJavaPROB, toJavaSuper, writeAll_impl
delete_and_lock, delete_and_lock, delete_and_lock, delete, delete, delete, read_lock, read_lock, read_lock, unlock_all, unlock, unlock, unlock, unlock, update, update, update, write_lock, write_lock, write_lock
checksum, readAll, remove, remove, remove, remove, writeAll
public CoxPHModel(water.Key destKey, CoxPHModel.CoxPHParameters parms, CoxPHModel.CoxPHOutput output)
public hex.ModelMetrics.MetricBuilder makeMetricBuilder(java.lang.String[] domain)
makeMetricBuilder
in class hex.Model<CoxPHModel,CoxPHModel.CoxPHParameters,CoxPHModel.CoxPHOutput>
public water.api.schemas3.ModelSchemaV3 schema()
public final CoxPHModel.CoxPHParameters get_params()
public java.lang.String toString()
toString
in class hex.Model<CoxPHModel,CoxPHModel.CoxPHParameters,CoxPHModel.CoxPHOutput>
public java.lang.String toStringAll()
public double[] score0(double[] data, double[] 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