Class ModelTrainingDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.aianomalydetection.model.ModelTrainingDetails.Builder
-
- Enclosing class:
- ModelTrainingDetails
public static class ModelTrainingDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ModelTrainingDetails.Builder
algorithmHint(ModelTrainingDetails.AlgorithmHint algorithmHint)
User can choose specific algorithm for training.ModelTrainingDetails
build()
ModelTrainingDetails.Builder
copy(ModelTrainingDetails model)
ModelTrainingDetails.Builder
dataAssetIds(List<String> dataAssetIds)
The list of OCIDs of the data assets to train the model.ModelTrainingDetails.Builder
targetFap(Float targetFap)
A target model accuracy metric user provides as their requirementModelTrainingDetails.Builder
trainingFraction(Float trainingFraction)
Fraction of total data that is used for training the model.ModelTrainingDetails.Builder
windowSize(Integer windowSize)
This value would determine the window size of the training algorithm.
-
-
-
Method Detail
-
algorithmHint
public ModelTrainingDetails.Builder algorithmHint(ModelTrainingDetails.AlgorithmHint algorithmHint)
User can choose specific algorithm for training.- Parameters:
algorithmHint
- the value to set- Returns:
- this builder
-
targetFap
public ModelTrainingDetails.Builder targetFap(Float targetFap)
A target model accuracy metric user provides as their requirement- Parameters:
targetFap
- the value to set- Returns:
- this builder
-
trainingFraction
public ModelTrainingDetails.Builder trainingFraction(Float trainingFraction)
Fraction of total data that is used for training the model.The remaining is used for validation of the model.
- Parameters:
trainingFraction
- the value to set- Returns:
- this builder
-
windowSize
public ModelTrainingDetails.Builder windowSize(Integer windowSize)
This value would determine the window size of the training algorithm.- Parameters:
windowSize
- the value to set- Returns:
- this builder
-
dataAssetIds
public ModelTrainingDetails.Builder dataAssetIds(List<String> dataAssetIds)
The list of OCIDs of the data assets to train the model.The dataAssets have to be in the same project where the ai model would reside.
- Parameters:
dataAssetIds
- the value to set- Returns:
- this builder
-
build
public ModelTrainingDetails build()
-
copy
public ModelTrainingDetails.Builder copy(ModelTrainingDetails model)
-
-