|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.encog.ml.train.BasicTraining
org.encog.ml.svm.training.SVMSearchTrain
public class SVMSearchTrain
Provides training for Support Vector Machine networks.
| Field Summary | |
|---|---|
static double |
DEFAULT_CONST_BEGIN
The default starting number for C. |
static double |
DEFAULT_CONST_END
The default ending number for C. |
static double |
DEFAULT_CONST_STEP
The default step for C. |
static double |
DEFAULT_GAMMA_BEGIN
The default gamma begin. |
static double |
DEFAULT_GAMMA_END
The default gamma end. |
static double |
DEFAULT_GAMMA_STEP
The default gamma step. |
| Constructor Summary | |
|---|---|
SVMSearchTrain(SVM method,
MLDataSet training)
Construct a trainer for an SVM network. |
|
| Method Summary | |
|---|---|
boolean |
canContinue()
|
void |
finishTraining()
Should be called after training has completed and the iteration method will not be called any further. |
double |
getConstBegin()
|
double |
getConstEnd()
|
double |
getConstStep()
|
int |
getFold()
|
double |
getGammaBegin()
|
double |
getGammaEnd()
|
double |
getGammaStep()
|
MLMethod |
getMethod()
Get the current best machine learning method from the training. |
boolean |
isTrainingDone()
|
void |
iteration()
Perform one training iteration. |
TrainingContinuation |
pause()
Pause the training to continue later. |
void |
resume(TrainingContinuation state)
Resume training. |
void |
setConstBegin(double theConstBegin)
|
void |
setConstEnd(double theConstEnd)
|
void |
setConstStep(double theConstStep)
|
void |
setFold(int theFold)
|
void |
setGammaBegin(double theGammaBegin)
|
void |
setGammaEnd(double theGammaEnd)
|
void |
setGammaStep(double theGammaStep)
|
| Methods inherited from class org.encog.ml.train.BasicTraining |
|---|
addStrategy, getError, getImplementationType, getIteration, getStrategies, getTraining, iteration, postIteration, preIteration, setError, setIteration, setTraining |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final double DEFAULT_CONST_BEGIN
public static final double DEFAULT_CONST_END
public static final double DEFAULT_CONST_STEP
public static final double DEFAULT_GAMMA_BEGIN
public static final double DEFAULT_GAMMA_END
public static final double DEFAULT_GAMMA_STEP
| Constructor Detail |
|---|
public SVMSearchTrain(SVM method,
MLDataSet training)
method - The method to train.training - The training data for this network.| Method Detail |
|---|
public final boolean canContinue()
public final void finishTraining()
finishTraining in interface MLTrainfinishTraining in class BasicTrainingpublic final double getConstBegin()
public final double getConstEnd()
public final double getConstStep()
public final int getFold()
public final double getGammaBegin()
public final double getGammaEnd()
public final double getGammaStep()
public final MLMethod getMethod()
public final boolean isTrainingDone()
isTrainingDone in interface MLTrainisTrainingDone in class BasicTrainingpublic final void iteration()
public final TrainingContinuation pause()
public void resume(TrainingContinuation state)
state - The training continuation object to use to continue.public final void setConstBegin(double theConstBegin)
theConstBegin - the constBegin to setpublic final void setConstEnd(double theConstEnd)
theConstEnd - the constEnd to setpublic final void setConstStep(double theConstStep)
theConstStep - the constStep to setpublic final void setFold(int theFold)
theFold - the fold to setpublic final void setGammaBegin(double theGammaBegin)
theGammaBegin - the gammaBegin to setpublic final void setGammaEnd(double theGammaEnd)
theGammaEnd - the gammaEnd to set.public final void setGammaStep(double theGammaStep)
theGammaStep - the gammaStep to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||