Interface SurrogateModelRegistry.SurrogateModel
- All Superinterfaces:
Serializable
- Enclosing class:
SurrogateModelRegistry
Interface for surrogate model implementations.
- Version:
- 1.0
- Author:
- ESOL
-
Method Summary
Modifier and TypeMethodDescriptiondefault intGets the expected input dimension.default intGets the expected output dimension.double[]predict(double[] input) Makes a prediction using the surrogate model.
-
Method Details
-
predict
double[] predict(double[] input) Makes a prediction using the surrogate model.- Parameters:
input- input vector (normalized)- Returns:
- output vector (predictions)
-
getInputDimension
default int getInputDimension()Gets the expected input dimension.- Returns:
- number of input features
-
getOutputDimension
default int getOutputDimension()Gets the expected output dimension.- Returns:
- number of output values
-