Package org.apache.wayang.apps.sgd
Class SGDImprovedImpl
java.lang.Object
org.apache.wayang.apps.sgd.SGDImprovedImpl
This class executes a stochastic gradient descent optimization on Apache Wayang (incubating), just like
SGDImpl
. However,
it used the MapPartitionsOperator
for performance improvements.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondouble[]
apply
(String datasetUrl, int datasetSize, int features, int maxIterations, double accuracy, int sampleSize) double[]
apply
(String datasetUrl, int datasetSize, int features, int maxIterations, double accuracy, int sampleSize, Experiment experiment)
-
Constructor Details
-
SGDImprovedImpl
-
-
Method Details
-
apply
public double[] apply(String datasetUrl, int datasetSize, int features, int maxIterations, double accuracy, int sampleSize) -
apply
public double[] apply(String datasetUrl, int datasetSize, int features, int maxIterations, double accuracy, int sampleSize, Experiment experiment)
-