Class KMeansUpdate
- All Implemented Interfaces:
Serializable
public class KMeansUpdate
extends Update<Tuple2<Integer,double[]>,Tuple2<Integer,Tuple2<Integer,double[]>>>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassign
(List<Tuple2<Integer, double[]>> input, ML4allModel model) Assigns the new value of the global variable to theML4allModel
Computes the new value of the global variableMethods inherited from class org.apache.wayang.ml4all.abstraction.api.LogicalOperator
finalise, initialise
-
Constructor Details
-
KMeansUpdate
public KMeansUpdate()
-
-
Method Details
-
process
public Tuple2<Integer,double[]> process(Tuple2<Integer, Tuple2<Integer, double[]>> input, ML4allModel model) Description copied from class:Update
Computes the new value of the global variable -
assign
Description copied from class:Update
Assigns the new value of the global variable to theML4allModel
-