TestAndValidationDatasetStrategy¶
- class oci.ai_language.models.TestAndValidationDatasetStrategy(**kwargs)¶
Bases:
TestStrategyThis information will be used capture training, testing and validation dataset.
Attributes:
A constant which can be used with the strategy_type property of a TestStrategy.
[Required] Gets the strategy_type of this TestStrategy.
[Required] Gets the testing_dataset of this TestAndValidationDatasetStrategy.
Gets the validation_dataset of this TestAndValidationDatasetStrategy.
Methods:
__init__(**kwargs)Initializes a new TestAndValidationDatasetStrategy object with values from keyword arguments.
get_subtype(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
- STRATEGY_TYPE_TEST_AND_VALIDATION_DATASET = 'TEST_AND_VALIDATION_DATASET'¶
A constant which can be used with the strategy_type property of a TestStrategy. This constant has a value of “TEST_AND_VALIDATION_DATASET”
- __init__(**kwargs)¶
Initializes a new TestAndValidationDatasetStrategy object with values from keyword arguments. The default value of the
strategy_typeattribute of this class isTEST_AND_VALIDATION_DATASETand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):- Parameters
strategy_type (str) – The value to assign to the strategy_type property of this TestAndValidationDatasetStrategy. Allowed values for this property are: “TEST_AND_VALIDATION_DATASET”
testing_dataset (oci.ai_language.models.DatasetDetails) – The value to assign to the testing_dataset property of this TestAndValidationDatasetStrategy.
validation_dataset (oci.ai_language.models.DatasetDetails) – The value to assign to the validation_dataset property of this TestAndValidationDatasetStrategy.
- static get_subtype(object_dictionary)¶
Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
- property strategy_type¶
[Required] Gets the strategy_type of this TestStrategy. This information will define the test strategy different datasets for test and validation(optional) dataset.
Allowed values for this property are: “TEST_AND_VALIDATION_DATASET”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The strategy_type of this TestStrategy.
- Return type
str
- property testing_dataset¶
[Required] Gets the testing_dataset of this TestAndValidationDatasetStrategy.
- Returns
The testing_dataset of this TestAndValidationDatasetStrategy.
- Return type
- property validation_dataset¶
Gets the validation_dataset of this TestAndValidationDatasetStrategy.
- Returns
The validation_dataset of this TestAndValidationDatasetStrategy.
- Return type