Predicts the cluster of an element.
Based on the clustering model generated by a model training component such as a K-Means component, tPredictCluster predicts which cluster an element belongs to. tPredictCluster uses a given clustering model to analyse datasets incoming from its preceding component in order to group the elements into different clusters.
In local mode, Apache Spark 2.4.0 and later versions are supported.
This component is not shipped with your Talend Studio by default. You need to install it using the Feature Manager. For more information, see Installing features using the Feature Manager.
For more technologies supported by Talend, see Talend components.
Depending on the Talend product you are using, this component can be used in one, some or all of the following Job frameworks:
Spark Batch: see tPredictCluster properties for Apache Spark Batch.
Spark Streaming: see tPredictCluster properties for Apache Spark Streaming.