OptiPara#

tpcp.OptiPara[source]#

Mark class attribute as an optimizable parameter for an algorithm or pipeline.

Compared to normal parameters (Parameter), optimizable parameters must only be specified for optimizable Algorithms or Pipelines. Optimizable parameters are expected to be modified when calling self_optimize. This information can be used for internal checks and performance optimizations. Further, this means there default values will likely be overwritten. In most cases you should still specify sensible default values so that the algorithm or pipeline can be used without explicit optimization. The default values can further be used as a starting point for optimization.

alias of Annotated[T, <_ParaTypes.OPTI: 4>]

Examples using tpcp.OptiPara#

Tensorflow/Keras

Tensorflow/Keras