autointent.schemas.node_validation#
Schemes.
Attributes#
Classes#
Base class for search space used in optuna. |
|
Integer parameter search space configuration. |
|
Float parameter search space configuration. |
|
Search space configuration for the Decision node. |
|
Search space configuration for the Embedding node. |
|
Search space configuration for the Scoring node. |
|
Search space configuration for the Regexp node. |
|
Search space configuration. |
|
Optimizer configuration. |
Functions#
|
Unwrap the Annotated type to get the actual type. |
|
Recursively check if the target type is present in the given type. |
|
Get the Optuna class for the given parameter type. |
Dynamically generates Pydantic models for class constructors and creates a union type. |
Module Contents#
- autointent.schemas.node_validation.ParamSpaceT#
- autointent.schemas.node_validation.DecisionMetrics#
- type autointent.schemas.node_validation.EmbeddingMetrics = Literal[tuple(EmbeddingNodeInfo.metrics_available.keys())]#
- type autointent.schemas.node_validation.ScoringMetrics = Literal[tuple(ScoringNodeInfo.metrics_available.keys())]#
- type autointent.schemas.node_validation.RegexpMetrics = Literal[tuple(RegexNodeInfo.metrics_available.keys())]#
- type autointent.schemas.node_validation.NodeValidatorType = EmbeddingNodeValidator | ScoringNodeValidator | DecisionNodeValidator | RegexNodeValidator#
- type autointent.schemas.node_validation.SearchSpaceType = DecisionSearchSpaceType | EmbeddingSearchSpaceType | ScoringSearchSpaceType | RegexpSearchSpaceType#