Updated on 2024-12-31 GMT+08:00

Hyperparameters

Description

Running parameters required except the input data and output data. The input data and output data are mandatory. Except the input and output data, other running parameters are configured in Hyperparameters based on the actual algorithm.

For example, add a running parameter to the algorithm code in the following way:

parser.add_argument('--test', type=str, default=None, help='test')

You can set the hyperparameter name to test, set the type to String, and set the default value and hyperparameter description based on your needs.

  • Name: hyperparameter name. Enter 1 to 64 characters. Only letters, digits, hyphens (-), and underscores (_) are allowed.
  • Type: type of the hyperparameter, which can be String, Integer, Float, or Boolean
  • Default: default value of the hyperparameter, which is used for training jobs by default
  • restrain: Click restrain and set the range of the default value or enumerated value in the dialog box displayed.
  • Required: Whether the parameter is mandatory. The value can be Yes or No. If you select No, you can delete the hyperparameter on the training job creation page when using this algorithm to create a training job. If you select Yes, the hyperparameter cannot be deleted.
  • Description: description of the hyperparameter. Only letters, digits, spaces, hyphens (-), underscores (_), commas (,), and periods (.), are allowed.

FAQs