Ranking Strategy - Offline Ranking Model
Overview
A ranking strategy trains ranking models that are used to rank items in the retrieved candidate sets to optimize their ranking sequences in sets.
Logistic Regression (LR)
As a generalized linear regression analysis model, LR is often used in data mining, automatic disease diagnosis, and economic prediction. The LR algorithm uses a sigmoid activation function on the basis of linear regression to map the output value to a range from 0 to 1. It is a common binary algorithm in the machine learning field.
| Parameter | Description |
|---|---|
| Name | The name of a custom strategy, which can contain letters, digits, underscores (_), spaces, or hyphens (-) and cannot start or end with a space. The name can contain up to 64 characters. |
| Description | A description of the strategy. |
| Max. Iterations | Max. number of iterations during model training. The default value is 50. |
| Iterations at Early Stopping | If the value of AUC is not increased after N rounds of iterations in a test set, the iteration stops and the training ends. The default value is 5. |
| Initialization Method | Initialization method for model parameters. They are:
|
| Optimizer Type |
|
| Lambda2 | Overlaid on the norm (x, 2) of the model and used to limit the model value to prevent overfitting. Lambda2 is set to 0 by default. |
| Regular Loss Calculation Mode | Calculation mode for regular loss. The value can be full and batch.
|
| Retrain | Retraining does not affect the first training result. It only affects the result of the rerun task.
|
| Batch size | Number of samples selected for a training |
| Split Training Datasets | The number of child datasets divided from a complete training dataset. The child datasets are trained in sequence. |
DeepFM
DeepFM is the combination of FM and a deep neural network for learning their feature expressions. It also learns high-order and low-order feature crosses to achieve accurate feature cross learning for precise recommendation.
| Parameter | Description |
|---|---|
| Name | The name of a custom strategy, which can contain letters, digits, underscores (_), spaces, or hyphens (-) and cannot start or end with a space. The name can contain up to 64 characters. |
| Description | A description of the strategy. |
| Max. Iterations | Max. number of iterations during model training. The default value is 50. |
| Iterations at Early Stopping | If the value of AUC is not increased after N rounds of iterations in a test set, the iteration stops and the training ends. The default value is 5. |
| Initialization Method | Initialization method for model parameters. They are:
|
| Optimizer Type |
|
| Lambda2 | Overlaid on the norm (x, 2) of the model and used to limit the model value to prevent overfitting. Lambda2 is set to 0 by default. |
| Regular Loss Calculation Mode | Calculation mode for regular loss. The value can be full and batch.
|
| Embedding Size | Length of the factorized feature embedding. Embedding Size is set to 10 by default. |
| Neural Network Structure | Number of neural network layers and the number of neuron nodes at each layer. Neural Network Structure is set to 400,400,400. |
| Activation Function | Function in a neural network that maps a value of a neuron or a group of neurons to an output value.
|
| Neuron Retention Probability | Probability at which neurons are kept in the forward propagation process of the neural network. Neuron Retention Probability is set to 0.8 by default. |
| Retrain | Retraining does not affect the first training result. It only affects the result of the rerun task.
|
| Batch size | Number of samples selected for a training |
| Split Training Datasets | The number of child datasets divided from a complete training dataset. The child datasets are trained in sequence. |
AutoGroup
The AutoGroup technology can be used to explore high-degree feature interaction combinations, explore the relationships between multiple features in a deeper level, and improve model ranking effects.
| Parameter | Description |
|---|---|
| Name | The name of a custom strategy, which can contain letters, digits, underscores (_), spaces, or hyphens (-) and cannot start or end with a space. The name can contain up to 64 characters. |
| Description | A description of the strategy. |
| Max. Interactions | Max. feature interactions of algorithm exploration. For example, when Max. Interactions is set to 4, the algorithm will explore the second, third, and fourth degrees of iterations. The default value is 3. |
| Embedding Size of Each Degree | The embedding length used for feature interaction of each degree. The quantity must correspond to the maximum interaction order. The default value is 10,60,80. |
| Hash Length | The number of groups selected for feature interaction of each degree. The quantity must correspond to the maximum interaction order. The default value is 10,60,80. |
| Feature Interaction Penalty Coefficient | Penalty coefficient of the output value of the feature interaction layer, which is used to prevent overfitting. The default values are 0.0001, 0.0001, 0.0001. |
| Neural Network Structure | Number of neural network layers and the number of neuron nodes at each layer. Neural Network Structure is set to 400,400,400. |
| Activation Function | Function in a neural network that maps a value of a neuron or a group of neurons to an output value.
|
| Neuron Retention Probability | Probability at which neurons are kept in the forward propagation process of the neural network. Neuron Retention Probability is set to 0.8 by default. |
| Optimizer |
|
| Structure Optimizer | For details, see the details of parameter Optimizer. |
| Regular Loss Calculation Mode | Calculation mode for regular loss. The value can be full and batch.
|
| Lambda2 | Overlaid on the norm (x, 2) of the model and used to limit the model value to prevent overfitting. Lambda2 is set to 0 by default. |
| Lambda2 of Embedding Size | Lambda2 used by the embedding layer. The function of this parameter is similar to that of Lambda2. It is set to 0.001 by default. |
| Wide Part Lambda2 | Lambda2 used by the wide layer. The function of this parameter is similar to that of Lambda2. It is set to 0.001 by default. |
| Max. Iterations | Max. number of iterations during model training. The default value is 50. |
| Iterations at Early Stopping | If the value of AUC is not increased after N rounds of iterations in a test set, the iteration stops and the training ends. The default value is 5. |
| Retrain | Retraining does not affect the first training result. It only affects the result of the rerun task.
|
| Batch size | Number of samples selected for a training |
| Split Training Datasets | The number of child datasets divided from a complete training dataset. The child datasets are trained in sequence. |
| Merge Multi-value Feature | Merge multiple embeddings of a multi-value feature into one embedding. |
| Use Wide Part | Whether to use the linear part in the model architecture. |
| Fix Hash Structure | Whether to fix the structure parameter. The structure parameter is not fixed by default. Unless otherwise specified, you are advised to retain the default value. |
Last Article: Ranking Strategy - Offline Feature Engineering
Next Article: Online Service
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.