TestAndValidationDatasetStrategy

class oci.ai_language.models.TestAndValidationDatasetStrategy(**kwargs)

Bases: TestStrategy

This information will be used capture training, testing and validation dataset.

Attributes:

STRATEGY_TYPE_TEST_AND_VALIDATION_DATASET

A constant which can be used with the strategy_type property of a TestStrategy.

strategy_type

[Required] Gets the strategy_type of this TestStrategy.

testing_dataset

[Required] Gets the testing_dataset of this TestAndValidationDatasetStrategy.

validation_dataset

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_type attribute of this class is TEST_AND_VALIDATION_DATASET and 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

oci.ai_language.models.DatasetDetails

property validation_dataset

Gets the validation_dataset of this TestAndValidationDatasetStrategy.

Returns

The validation_dataset of this TestAndValidationDatasetStrategy.

Return type

oci.ai_language.models.DatasetDetails