Class TestDataSettings


  • public final class TestDataSettings
    extends Object
    Test data inputs.
    • Constructor Detail

      • TestDataSettings

        public TestDataSettings()
    • 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.