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, 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, toJavaPredictBody, toJavaSuper, toJavaUnifyPreds, varimpdelete_and_lock, delete, delete, delete, delete, is_unlocked, is_wlocked, read_lock, read_lock, unlock_all, unlock_lockable, unlock, update, write_lockclone, frozenType, init, newInstance, read, toDocField, write, writeJSON, writeJSONFieldspublic 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 Modelpublic double[] pprior()
public double[][][] pcond()
protected float[] score0(double[] data,
float[] preds)
Modelpublic java.lang.String toString()
toString in class java.lang.Objectpublic void generateHTML(java.lang.String title,
java.lang.StringBuilder sb)