tClassify
Predicts which class an element belongs to, based on the classifier model generated
by a model training component.
tClassify uses a given classifier
model to analyse datasets incoming from its preceding component in order to classify the
elements in the datasets.
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 tClassify 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 tClassify properties for Apache Spark Streaming.
This component is available in Talend Real Time Big Data Platform and Talend Data Fabric.
tClassify properties for Apache Spark Batch
These properties are used to configure tClassify running in the Spark Batch Job framework.
The Spark Batch
tClassify 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 scenario
For a scenario in which tClassify is used, see Creating a classification model to filter spam.
tClassify properties for Apache Spark Streaming
These properties are used to configure tClassify running in the Spark Streaming Job framework.
The Spark Streaming
tClassify 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 |
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.