public class SemKernel extends AbstractComponent
Modifier and Type | Class and Description |
---|---|
static class |
SemKernel.ScalingMode |
static class |
SemKernel.SvmType |
Constructor and Description |
---|
SemKernel() |
Modifier and Type | Method and Description |
---|---|
edu.berkeley.compbio.jlibsvm.multi.MultiClassModel.AllVsAllMode |
getAllVsAllMode() |
int |
getCacheSize() |
int |
getCoef0() |
double |
getCost() |
int |
getCrossValidationFolds() |
int |
getDegree() |
float |
getEpsilon() |
double |
getGamma() |
double |
getMinVoteProportion() |
String |
getModelDirPath() |
float |
getNu() |
edu.berkeley.compbio.jlibsvm.multi.MultiClassModel.OneVsAllMode |
getOneVsAllMode() |
double |
getOneVsAllThreshold() |
String |
getOntologyFilePath() |
float |
getP() |
String |
getPredictionDataDirPath() |
String |
getResultsDirPath() |
int |
getScalingLimit() |
SemKernel.ScalingMode |
getScalingMode() |
SemKernel.SvmType |
getSvmType() |
String |
getTrainingOutputDirPath() |
void |
init()
Method to be called after the component has been configured.
|
boolean |
isDoProbabilityEstimates() |
boolean |
isDoShrinking() |
boolean |
isNormalizeL2() |
boolean |
isPredictProbability() |
boolean |
isRedistributeUnbalanbcedCosts() |
boolean |
isUseCrossValidation() |
void |
predict() |
void |
setAllVsAllMode(edu.berkeley.compbio.jlibsvm.multi.MultiClassModel.AllVsAllMode allVsAllMode) |
void |
setCacheSize(int cacheSize) |
void |
setCoef0(int coef0) |
void |
setCost(double costs) |
void |
setCrossValidationFolds(int crossValidationFolds) |
void |
setDegree(int degree) |
void |
setDoProbabilityEstimates(boolean doProbabilityEstimates) |
void |
setDoShrinking(boolean doShrinking) |
void |
setEpsilon(float epsilon) |
void |
setGamma(double gammaSet) |
void |
setMinVoteProportion(double minVoteProportion) |
void |
setModelDirPath(String modelDirPath) |
void |
setNormalizeL2(boolean normalizeL2) |
void |
setNu(float nu) |
void |
setOneVsAllMode(edu.berkeley.compbio.jlibsvm.multi.MultiClassModel.OneVsAllMode oneVsAllMode) |
void |
setOneVsAllThreshold(double oneVsAllThreshold) |
void |
setOntologyFilePath(String ontologyFilePath) |
void |
setP(float p) |
void |
setPredictionDataDirPath(String predictionDataDirPath) |
void |
setPredictProbability(boolean predictProbability) |
void |
setRedistributeUnbalanbcedCosts(boolean redistributeUnbalanbcedCosts) |
void |
setResultsDirPath(String resultsDirPath) |
void |
setScalingLimit(int scalingLimit) |
void |
setScalingMode(SemKernel.ScalingMode scalingMode) |
void |
setSvmType(SemKernel.SvmType svmType) |
void |
setTrainingDirPath(String trainingOutputDirPath) |
void |
setUseCrossValidation(boolean useCrossValidation) |
void |
train() |
isInitialized
public SemKernel()
public void init()
Component
public void train()
public void predict()
public boolean isUseCrossValidation()
public void setUseCrossValidation(boolean useCrossValidation)
public float getNu()
public void setNu(float nu)
public int getCacheSize()
public void setCacheSize(int cacheSize)
public float getEpsilon()
public void setEpsilon(float epsilon)
public float getP()
public void setP(float p)
public boolean isDoShrinking()
public void setDoShrinking(boolean doShrinking)
public boolean isDoProbabilityEstimates()
public void setDoProbabilityEstimates(boolean doProbabilityEstimates)
public boolean isRedistributeUnbalanbcedCosts()
public void setRedistributeUnbalanbcedCosts(boolean redistributeUnbalanbcedCosts)
public SemKernel.SvmType getSvmType()
public void setSvmType(SemKernel.SvmType svmType)
public int getDegree()
public void setDegree(int degree)
public int getCoef0()
public void setCoef0(int coef0)
public double getGamma()
public void setGamma(double gammaSet)
public double getCost()
public void setCost(double costs)
public int getCrossValidationFolds()
public void setCrossValidationFolds(int crossValidationFolds)
public edu.berkeley.compbio.jlibsvm.multi.MultiClassModel.AllVsAllMode getAllVsAllMode()
public void setAllVsAllMode(edu.berkeley.compbio.jlibsvm.multi.MultiClassModel.AllVsAllMode allVsAllMode)
public edu.berkeley.compbio.jlibsvm.multi.MultiClassModel.OneVsAllMode getOneVsAllMode()
public void setOneVsAllMode(edu.berkeley.compbio.jlibsvm.multi.MultiClassModel.OneVsAllMode oneVsAllMode)
public double getOneVsAllThreshold()
public void setOneVsAllThreshold(double oneVsAllThreshold)
public double getMinVoteProportion()
public void setMinVoteProportion(double minVoteProportion)
public SemKernel.ScalingMode getScalingMode()
public void setScalingMode(SemKernel.ScalingMode scalingMode)
public int getScalingLimit()
public void setScalingLimit(int scalingLimit)
public boolean isNormalizeL2()
public void setNormalizeL2(boolean normalizeL2)
public String getTrainingOutputDirPath()
public void setTrainingDirPath(String trainingOutputDirPath)
public String getOntologyFilePath()
public void setOntologyFilePath(String ontologyFilePath)
public String getModelDirPath()
public void setModelDirPath(String modelDirPath)
public String getPredictionDataDirPath()
public void setPredictionDataDirPath(String predictionDataDirPath)
public String getResultsDirPath()
public void setResultsDirPath(String resultsDirPath)
public boolean isPredictProbability()
public void setPredictProbability(boolean predictProbability)
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2019 Jens Lehmann