tPredict
Predicts the situation of an element.
Based on the models generated by the classification
components, the clustering components or the regression components, tPredict predicts the situation an element could fall into. tPredict uses a given classification, clustering or
relationship model to analyse datasets incoming from its preceding component.
In local mode, Apache Spark 1.3.0, 1.4.0, 1.5.0, 1.6.0, 2.0.0, 2.3.0 and 2.4.0 are
supported.
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 tPredict 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 tPredict properties for Apache Spark Streaming.
This component is available in Talend Real Time Big Data Platform and Talend Data Fabric.
tPredict properties for Apache Spark Batch
These properties are used to configure tPredict running in the Spark Batch Job framework.
The Spark Batch
tPredict 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
Depending on the model you select to use, a corresponding read-only column is |
Model type |
Select the type of the model you want tPredict to use. |
Define a storage configuration |
Select the configuration component to be used to provide the configuration If you leave this check box clear, the target file system is the local The configuration component to be used must be present in the same Job. The Define a storage configuration component check box is |
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 The Define a storage configuration component check box is |
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. This component, along with the Spark Batch component Palette it belongs to, Note that in this documentation, unless otherwise explicitly stated, a |
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 tPredict is used, see Modeling the accident-prone areas in a city.
tPredict properties for Apache Spark Streaming
These properties are used to configure tPredict running in the Spark Streaming Job framework.
The Spark Streaming
tPredict 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
Depending on the model you select to use, a corresponding read-only column is |
Model type |
Select the type of the model you want tPredict to use. |
Define a storage configuration |
Select the configuration component to be used to provide the configuration If you leave this check box clear, the target file system is the local The configuration component to be used must be present in the same Job. The Define a storage configuration component check box is |
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 The Define a storage configuration component check box is |
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. This component, along with the Spark Streaming component Palette it belongs to, appears Note that in this documentation, unless otherwise explicitly stated, a scenario presents |
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.