tPredictCluster
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.
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.The component in this framework is available in all Talend Platform products with Big Data and in Talend Data Fabric.
-
Spark Streaming: see tPredictCluster properties for Apache Spark Streaming.
This component is available in Talend Real Time Big Data Platform and Talend Data Fabric.
tPredictCluster properties for Apache Spark Batch
These properties are used to configure tPredictCluster running in the Spark Batch Job framework.
The Spark Batch
tPredictCluster component belongs to the Machine Learning family.
The component in this framework is available in all Talend Platform products with Big Data and in Talend Data Fabric.
Basic
settings
Schema and Edit |
A schema is a row description. It defines the number of fields Click Edit
Note that the schema of this component is read-only. Its single column LABEL is used to load the class names from the classifier model |
Model on filesystem |
Select this radio box if the model to be used is stored on a file system. The button for In the HDFS |
Model computed in the current Job |
Select this radio box and then select the model training component that is used in the |
Usage
Usage rule |
This component is used as an intermediate step. |
Spark Connection |
In the Spark
Configuration tab in the Run view, define the connection to a given Spark cluster for the whole Job. In addition, since the Job expects its dependent jar files for execution, you must specify the directory in the file system to which these jar files are transferred so that Spark can access these files:
This connection is effective on a per-Job basis. |
Related scenarios
No scenario is available for the Spark Batch version of this component
yet.
tPredictCluster properties for Apache Spark Streaming
These properties are used to configure tPredictCluster running in the Spark Streaming Job framework.
The Spark Streaming
tPredictCluster component belongs to the Machine Learning family.
This component is available in Talend Real Time Big Data Platform and Talend Data Fabric.
Basic
settings
Schema and Edit |
A schema is a row description. It defines the number of fields Click Edit
Note that the schema of this component is read-only. Its single column LABEL is used to load the class names from the classifier model |
Model on filesystem |
Select this radio box if the model to be used is stored on a file system. The button for In the HDFS |
Model computed in the current Job |
Select this radio box and then select the model training component that is used in the |
Usage
Usage rule |
This component is used as an intermediate step. |
Spark Connection |
In the Spark
Configuration tab in the Run view, define the connection to a given Spark cluster for the whole Job. In addition, since the Job expects its dependent jar files for execution, you must specify the directory in the file system to which these jar files are transferred so that Spark can access these files:
This connection is effective on a per-Job basis. |
Related scenarios
No scenario is available for the Spark Streaming version of this component
yet.