Class TestDataSettings
- java.lang.Object
-
- com.azure.resourcemanager.machinelearning.models.TestDataSettings
-
public final class TestDataSettings extends Object
Test data inputs.
-
-
Constructor Summary
Constructors Constructor Description TestDataSettings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MLTableJobInput
data()
Get the data property: Test data MLTable.Double
testDataSize()
Get the testDataSize property: The fraction of test dataset that needs to be set aside for validation purpose.void
validate()
Validates the instance.TestDataSettings
withData(MLTableJobInput data)
Set the data property: Test data MLTable.TestDataSettings
withTestDataSize(Double testDataSize)
Set the testDataSize property: The fraction of test dataset that needs to be set aside for validation purpose.
-
-
-
Method Detail
-
data
public MLTableJobInput data()
Get the data property: Test data MLTable.- Returns:
- the data value.
-
withData
public TestDataSettings withData(MLTableJobInput data)
Set the data property: Test data MLTable.- Parameters:
data
- the data value to set.- Returns:
- the TestDataSettings object itself.
-
testDataSize
public Double testDataSize()
Get the testDataSize property: The fraction of test dataset that needs to be set aside for validation purpose. Values between (0.0 , 1.0) Applied when validation dataset is not provided.- Returns:
- the testDataSize value.
-
withTestDataSize
public TestDataSettings withTestDataSize(Double testDataSize)
Set the testDataSize property: The fraction of test dataset that needs to be set aside for validation purpose. Values between (0.0 , 1.0) Applied when validation dataset is not provided.- Parameters:
testDataSize
- the testDataSize value to set.- Returns:
- the TestDataSettings object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-