public static class SVM.EX extends SVM
Modifier and Type | Field and Description |
---|---|
static double[] |
DEFAULT_WEIGHTS |
ENABLE_LOAD_WITHOUT_LIBRARY, MAX_CPU
Constructor and Description |
---|
EX(double[][] data,
double[] labels) |
EX(double[][] data,
double[] labels,
double[] weights) |
EX(double[][] data,
double[] labels,
double[] weights,
Config config) |
EX(LiquidData.Data data) |
EX(LiquidData.Data data,
double[] weights) |
EX(LiquidData.Data data,
double[] weights,
Config config) |
EX(LiquidData data) |
EX(LiquidData data,
double[] weights) |
EX(LiquidData data,
double[] weights,
Config config) |
Modifier and Type | Method and Description |
---|---|
double[][] |
select(java.lang.String... argv)
Selects the best hyperparameter pair according to validation error.
|
calculateDataCover, clean, finalize, getConfig, getCover, getLastResult, getSelectErrs, getSolutionCoeffs, getSolutionSVs, getTrainErrs, isSelected, isTrained, predict, readSVM, setConfig, setConfig, setConfig, setConfig, setConfigAll, test, test, train
public EX(LiquidData data)
public EX(LiquidData data, double[] weights)
public EX(LiquidData data, double[] weights, Config config)
public EX(LiquidData.Data data)
public EX(LiquidData.Data data, double[] weights)
public EX(LiquidData.Data data, double[] weights, Config config)
public EX(double[][] data, double[] labels)
public EX(double[][] data, double[] labels, double[] weights)
public EX(double[][] data, double[] labels, double[] weights, Config config)
public double[][] select(java.lang.String... argv)
SVM
argv
can be used by experts in the same way
as in the svm-select
command line program of liquidSVM interface.
Most users should rather use Config
.select
in class SVM
argv
- further command line arguments (for experts)SVM.getSelectErrs()