public static class CoxPH.CoxPHModel extends Model implements Job.Progress
Model.ModelAutobufferSerializer, Model.ModelCategory
Modifier and Type | Field and Description |
---|---|
static DocGen.FieldDoc[] |
DOC_FIELDS |
_dataKey, _domains, _have_cv_results, _modelClassDist, _names, _priorClassDist, GEN_BENCHMARK_CODE, training_duration_in_ms, training_start_time, warnings
Constructor and Description |
---|
CoxPH.CoxPHModel(CoxPH job,
Key selfKey,
Key dataKey,
Frame fr,
float[] priorClassDist) |
Modifier and Type | Method and Description |
---|---|
protected void |
calcCounts(CoxPH.CoxPHTask coxMR) |
protected void |
calcCumhaz_0(CoxPH.CoxPHTask coxMR) |
protected double |
calcLoglik(CoxPH.CoxPHTask coxMR) |
protected void |
calcModelStats(double[] newCoef,
double newLoglik) |
void |
generateHTML(java.lang.String title,
java.lang.StringBuilder sb) |
CoxPH |
get_params() |
protected void |
initStats(Frame source,
FrameTask.DataInfo dinfo) |
Request2 |
job() |
Frame |
makeSurvfit(Key key,
double x_new) |
float |
progress() |
protected float[] |
score0(double[] data,
float[] preds)
Subclasses implement the scoring logic.
|
void |
toJavaHtml(java.lang.StringBuilder sb) |
adapt, adapt, addWarning, calcError, classNames, cm, delete_impl, errStr, getDomainMapping, getDomainMapping, getModelCategory, getModelSerializer, getUniqueId, hasCrossValModels, isClassifier, isSupervised, missingColumnsType, mse, nclasses, nfeatures, printCrossValidationModelsHTML, responseName, score, score, score, score, score, score, score0, scoreCrossValidation, scoreImpl, setCrossValidationError, setModelClassDistribution, start_training, start_training, stop_training, testJavaScoring, toJava, toJava, toJavaDefaultMaxIters, toJavaFillPreds0, toJavaInit, toJavaInit, toJavaNCLASSES, toJavaPredictBody, toJavaSuper, toJavaUnifyPreds, varimp
delete_and_lock, delete, delete, delete, delete, is_unlocked, is_wlocked, read_lock, read_lock, unlock_all, unlock_lockable, unlock, update, write_lock
clone, frozenType, init, newInstance, read, toDocField, write, writeJSON, writeJSONFields
public static DocGen.FieldDoc[] DOC_FIELDS
public final CoxPH get_params()
get_params
in class Model
public float progress()
progress
in interface Job.Progress
protected float[] score0(double[] data, float[] preds)
Model
protected void initStats(Frame source, FrameTask.DataInfo dinfo)
protected void calcCounts(CoxPH.CoxPHTask coxMR)
protected double calcLoglik(CoxPH.CoxPHTask coxMR)
protected void calcModelStats(double[] newCoef, double newLoglik)
protected void calcCumhaz_0(CoxPH.CoxPHTask coxMR)
public void generateHTML(java.lang.String title, java.lang.StringBuilder sb)
public void toJavaHtml(java.lang.StringBuilder sb)