Package org.apache.nemo.examples.beam
Class AlternatingLeastSquare
- java.lang.Object
-
- org.apache.nemo.examples.beam.AlternatingLeastSquare
-
public final class AlternatingLeastSquare extends java.lang.Object
Sample Alternating Least Square application.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AlternatingLeastSquare.CalculateNextMatrix
DoFn for calculating next matrix at each iteration.static class
AlternatingLeastSquare.CreateInitialMatrix
A DoFn that creates an initial matrix.static class
AlternatingLeastSquare.ParseLine
Method for parsing the input line.static class
AlternatingLeastSquare.TrainingDataCombiner
Combiner for the training data.static class
AlternatingLeastSquare.UngroupSingleVectorList
A DoFn that relays a single vector list.static class
AlternatingLeastSquare.UpdateUserAndItemMatrix
Composite transform that wraps the transforms inside the loop.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
main(java.lang.String[] args)
Main function for the ALS BEAM program.
-