ModelProps
Properties for defining a Model.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-nlpautoml-model
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdknlpautoml"
&alicloudroscdknlpautoml.ModelProps {
DatasetIdList: interface{},
ModelName: interface{},
ModelType: interface{},
ProjectId: interface{},
Lr: interface{},
Nepochs: interface{},
TestDatasetIdList: interface{},
}
Properties
| Name | Type | Description |
|---|---|---|
DatasetIdList |
interface{} |
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 |
interface{} |
Property modelName: The name of model. |
ModelType |
interface{} |
Property modelType: The type of model. |
ProjectId |
interface{} |
Property projectId: The project id to which the model belongs. |
Lr |
interface{} |
Property lr: Learning rate. |
Nepochs |
interface{} |
Property nepochs: Number of training dataset iterations. |
TestDatasetIdList |
interface{} |
Property testDatasetIdList: Test set ID list. |
DatasetIdListRequired
DatasetIdList interface{}
- Type: interface{}
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
ModelName interface{}
- Type: interface{}
Property modelName: The name of model.
ModelTypeRequired
ModelType interface{}
- Type: interface{}
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
ProjectId interface{}
- Type: interface{}
Property projectId: The project id to which the model belongs.
LrOptional
Lr interface{}
- Type: interface{}
Property lr: Learning rate.
NepochsOptional
Nepochs interface{}
- Type: interface{}
Property nepochs: Number of training dataset iterations.
TestDatasetIdListOptional
TestDatasetIdList interface{}
- Type: interface{}
Property testDatasetIdList: Test set ID list.
Some models under text classification support adding test set data.