public final class SVMJobParameters
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Method and Description |
---|---|
static SVMJobParameters |
build(Config cfg)
Builds the Job Parameters relevant SVM Algorithm
|
double |
getAlpha() |
double |
getC() |
java.lang.String |
getCrossValidationDataDir() |
java.lang.String |
getExperimentName() |
int |
getFeatures() |
int |
getIterations() |
java.lang.String |
getModelSaveDir() |
int |
getParallelism() |
int |
getSamples() |
java.lang.String |
getTestingDataDir() |
int |
getTestingSamples() |
java.lang.String |
getTrainingDataDir() |
java.lang.String |
getWeightVectorDataDir() |
WindowArguments |
getWindowArguments() |
boolean |
isDummy() |
boolean |
isSplit() |
boolean |
isStreaming() |
void |
setAlpha(double alpha) |
void |
setC(double c) |
void |
setCrossValidationDataDir(java.lang.String crossValidationDataDir) |
void |
setDummy(boolean dummy) |
void |
setExperimentName(java.lang.String experimentName) |
void |
setFeatures(int features) |
void |
setIterations(int iterations) |
void |
setModelSaveDir(java.lang.String modelSaveDir) |
void |
setParallelism(int parallelism) |
void |
setSamples(int samples) |
void |
setSplit(boolean split) |
void |
setStreaming(boolean streaming) |
void |
setTestingDataDir(java.lang.String testingDataDir) |
void |
setTestingSamples(int testingSamples) |
void |
setTrainingDataDir(java.lang.String trainingDataDir) |
void |
setWeightVectorDataDir(java.lang.String weightVectorDataDir) |
void |
setWindowArguments(WindowArguments windowArguments) |
java.lang.String |
toString() |
public static SVMJobParameters build(Config cfg)
cfg
- : this must be initialized where Job is initialized.public int getFeatures()
public void setFeatures(int features)
public int getSamples()
public void setSamples(int samples)
public boolean isStreaming()
public void setStreaming(boolean streaming)
public java.lang.String getTrainingDataDir()
public void setTrainingDataDir(java.lang.String trainingDataDir)
public java.lang.String getTestingDataDir()
public void setTestingDataDir(java.lang.String testingDataDir)
public java.lang.String getCrossValidationDataDir()
public void setCrossValidationDataDir(java.lang.String crossValidationDataDir)
public java.lang.String getModelSaveDir()
public void setModelSaveDir(java.lang.String modelSaveDir)
public int getIterations()
public void setIterations(int iterations)
public double getAlpha()
public void setAlpha(double alpha)
public double getC()
public void setC(double c)
public boolean isSplit()
public void setSplit(boolean split)
public boolean isDummy()
public void setDummy(boolean dummy)
public int getParallelism()
public void setParallelism(int parallelism)
public java.lang.String getExperimentName()
public void setExperimentName(java.lang.String experimentName)
public int getTestingSamples()
public void setTestingSamples(int testingSamples)
public java.lang.String getWeightVectorDataDir()
public void setWeightVectorDataDir(java.lang.String weightVectorDataDir)
public WindowArguments getWindowArguments()
public void setWindowArguments(WindowArguments windowArguments)
public java.lang.String toString()
toString
in class java.lang.Object