Skip to content

ModelProps

Properties for defining a Model.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-nlpautoml-model

Initializer

using AlibabaCloud.SDK.ROS.CDK.Nlpautoml;
new ModelProps {
    object DatasetIdList,
    object ModelName,
    object ModelType,
    object ProjectId,
    object Lr = null,
    object Nepochs = null,
    object TestDatasetIdList = null
};

Properties

Name Type Description
DatasetIdList object Property datasetIdList: The uploaded dataset must be under the same project, and the total number of marked data is greater than or equal to 4.
ModelName object Property modelName: The name of model.
ModelType object Property modelType: The type of model.
ProjectId object Property projectId: The project id to which the model belongs.
Lr object Property lr: Learning rate.
Nepochs object Property nepochs: Number of training dataset iterations.
TestDatasetIdList object Property testDatasetIdList: Test set ID list.

DatasetIdListRequired

public object DatasetIdList { get; set; }
  • Type: object

Property datasetIdList: The uploaded dataset must be under the same project, and the total number of marked data is greater than or equal to 4.


ModelNameRequired

public object ModelName { get; set; }
  • Type: object

Property modelName: The name of model.


ModelTypeRequired

public object ModelType { get; set; }
  • Type: object

Property modelType: The type of model.

Please refer to the documentation for the parameter values corresponding to different types of models. Using the specified model type under different project, and the backend will do the verification. If the model type does not exist under the project, it will prompt that the base model is not found


ProjectIdRequired

public object ProjectId { get; set; }
  • Type: object

Property projectId: The project id to which the model belongs.


LrOptional

public object Lr { get; set; }
  • Type: object

Property lr: Learning rate.


NepochsOptional

public object Nepochs { get; set; }
  • Type: object

Property nepochs: Number of training dataset iterations.


TestDatasetIdListOptional

public object TestDatasetIdList { get; set; }
  • Type: object

Property testDatasetIdList: Test set ID list.

Some models under text classification support adding test set data.