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 |
---|
NBModel(Key selfKey,
Key dataKey,
FrameTask.DataInfo dinfo,
NaiveBayes.NBTask tsk,
double[] pprior,
double[][][] pcond,
double laplace,
double min_std_dev) |
Modifier and Type | Method and Description |
---|---|
void |
generateHTML(java.lang.String title,
java.lang.StringBuilder sb) |
NaiveBayes |
get_params() |
Request2 |
job() |
double[][][] |
pcond() |
double[] |
pprior() |
protected float[] |
score0(double[] data,
float[] preds)
Subclasses implement the scoring logic.
|
java.lang.String |
toString() |
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 NBModel(Key selfKey, Key dataKey, FrameTask.DataInfo dinfo, NaiveBayes.NBTask tsk, double[] pprior, double[][][] pcond, double laplace, double min_std_dev)
public final NaiveBayes get_params()
get_params
in class Model
public double[] pprior()
public double[][][] pcond()
protected float[] score0(double[] data, float[] preds)
Model
public java.lang.String toString()
toString
in class java.lang.Object
public void generateHTML(java.lang.String title, java.lang.StringBuilder sb)