public class LinearClassificationType extends Object implements LibLinearType<Label>
Supports: L1R_L2LOSS_SVC, L2R_L2LOSS_SVC, L2R_L2LOSS_SVC_DUAL, L2R_L1LOSS_SVC_DUAL, MCSVM_CS, L1R_LR, L2R_LR, L2R_LR_DUAL.
Modifier and Type | Class and Description |
---|---|
static class |
LinearClassificationType.LinearType
The different model types available for classification.
|
Constructor and Description |
---|
LinearClassificationType(LinearClassificationType.LinearType type) |
Modifier and Type | Method and Description |
---|---|
com.oracle.labs.mlrg.olcut.provenance.ConfiguredObjectProvenance |
getProvenance() |
de.bwaldvogel.liblinear.SolverType |
getSolverType()
Returns the liblinear enum type.
|
boolean |
isClassification()
Is this class a Classification algorithm?
|
boolean |
isRegression()
Is this class a Regression algorithm?
|
public LinearClassificationType(LinearClassificationType.LinearType type)
public boolean isClassification()
LibLinearType
isClassification
in interface LibLinearType<Label>
public boolean isRegression()
LibLinearType
isRegression
in interface LibLinearType<Label>
public de.bwaldvogel.liblinear.SolverType getSolverType()
LibLinearType
getSolverType
in interface LibLinearType<Label>
public com.oracle.labs.mlrg.olcut.provenance.ConfiguredObjectProvenance getProvenance()
getProvenance
in interface com.oracle.labs.mlrg.olcut.provenance.Provenancable<com.oracle.labs.mlrg.olcut.provenance.ConfiguredObjectProvenance>
Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.