Best Practices
For details about the parameters, see GS_OPT_MODEL.
Table 1
The value can be customized, for example, open_ai. The value must meet the unique constraint. | |
Iteration times. A large value is recommended to ensure the convergence effect, for example, 2000. | |
(0, 1] is a floating-point number. A large learning rate is recommended to accelerate convergence. | |
Number of feature values to be reduced. -1: Do not use PCA for dimension reduction. All features are supported. Floating point number in the range of (0, 1]: A smaller value indicates a smaller training dimension and a faster convergence speed, but affects the training accuracy. | |
If the feature value dimension is high, you are advised to increase the value of this parameter to increase the model complexity. For example, set this parameter to 64, 128, and so on. | |
You are advised to increase the value of this parameter based on the amount of encoded data to accelerate model convergence. For example, set this parameter to 256, 512, and so on. | |
See GS_OPT_MODEL. |
Recommended parameter settings:
INSERT INTO gs_opt_model values('rlstm', 'open_ai', 'postgres', '127.0.0.1', 5000, 2000, 1, -1, 64, 512, 0, false, false, '{S, T}', '{0,0}', '{0,0}', 'Text');