tRecommend
Recommends products to users known to this model, based on the user-product
recommender model generated by tASLModel.
tRecommend uses a given recommender
model to analyse user data incoming from its preceding Spark component
so as to estimate the preferences of these users.
In local mode, Apache Spark 1.3.0 and later versions 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 tRecommend 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 tRecommend properties for Apache Spark Streaming.
This component is available in Talend Real Time Big Data Platform and Talend Data Fabric.
tRecommend properties for Apache Spark Batch
These properties are used to configure tRecommend running in the Spark Batch Job framework.
The Spark Batch
tRecommend 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 apart from the columns you can edit by yourself, product_ID and score columns are read-only |
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. |
Input parquet model |
Enter the directory where the recommender model to be used is The button for browsing does not work with the Spark tHDFSConfiguration This model should be generated by a tALSModel component. |
Select the User Identity |
Select the column that is carrying the user ID data from the input This tRecommend component needs |
Number of recommendations |
Enter the number of the most recommended products to be Note that this is a numeric value and so you cannot use the double |
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 The user IDs processed by this component must be known to the recommender model to be |
MLlib installation |
Spark’s machine learning library, MLlib, uses the gfortran runtime library and for this For further information about MLlib and this library, see the |
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.
tRecommend properties for Apache Spark Streaming
These properties are used to configure tRecommend running in the Spark Streaming Job framework.
The Spark Streaming
tRecommend 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 apart from the columns you can edit by yourself, product_ID and score columns are read-only |
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. |
Input parquet model |
Enter the directory where the recommender model to be used is The button for browsing does not work with the Spark tHDFSConfiguration This model should be generated by a tALSModel component. |
Select the User Identity |
Select the column that is carrying the user ID data from the input This tRecommend component needs |
Number of recommendations |
Enter the number of the most recommended products to be Note that this is a numeric value and so you cannot use the double |
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 The user IDs processed by this component must be known to the recommender model to be |
MLlib installation |
Spark’s machine learning library, MLlib, uses the gfortran runtime library and for this For further information about MLlib and this library, see the |
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.