GenerateModelsEngine
Generate Models Engine
Description
Generate Models Engine
Generate Models Engine
Details
Generate models engine
Internal engine that combines sources and algorithms into model specs.
Methods
Public methods
Method new()
Create a generate models engine
Usage
GenerateModelsEngine$new(workspace)
Arguments
-
workspace -
PolyGenius workspace instance.
Method generate()
Build model resource specifications from sources and algorithms
Usage
GenerateModelsEngine$generate(sources, algorithms, .execute = TRUE)
Arguments
-
sources -
List of source specs
-
algorithms -
List of algorithm specs
-
.execute -
Logical; when
TRUE, trigger reactive execution to ensure model resources are materialized in cache.
Returns
When .execute = TRUE, a PolyGeniusModelSet containing all successfully generated models plus generation metadata under .field generation. When .execute = FALSE, a ResourceSpecSet.
Method clone()
The objects of this class are cloneable with this method.
Usage
GenerateModelsEngine$clone(deep = FALSE)
Arguments
-
deep -
Whether to make a deep clone.