abacusai.api_class.project
Classes
Feature mapping configuration for a feature group type. |
|
Project feature group type mappings. |
|
Constraint configuration. |
|
An abstract class for project feature group configuration. |
|
Constraint project feature group configuration. |
|
Review mode project feature group configuration. |
|
Helper class that provides a standard way to create an ABC using |
Module Contents
- class abacusai.api_class.project.FeatureMappingConfig
Bases:
abacusai.api_class.abstract.ApiClass
Feature mapping configuration for a feature group type.
- Parameters:
- class abacusai.api_class.project.ProjectFeatureGroupTypeMappingsConfig
Bases:
abacusai.api_class.abstract.ApiClass
Project feature group type mappings.
- Parameters:
feature_group_id (str) – The unique identifier for the feature group.
feature_group_type (str) – The feature group type.
feature_mappings (List[FeatureMappingConfig]) – The feature mappings for the feature group.
- feature_mappings: List[FeatureMappingConfig]
- class abacusai.api_class.project.ConstraintConfig
Bases:
abacusai.api_class.abstract.ApiClass
Constraint configuration.
- Parameters:
constant (float) – The constant value for the constraint.
operator (str) – The operator for the constraint. Could be ‘EQ’, ‘LE’, ‘GE’
enforcement (str) – The enforcement for the constraint. Could be ‘HARD’ or ‘SOFT’. Default is ‘HARD’
code (str) – The code for the constraint.
penalty (float) – The penalty for violating the constraint.
- class abacusai.api_class.project.ProjectFeatureGroupConfig
Bases:
abacusai.api_class.abstract.ApiClass
An abstract class for project feature group configuration.
- classmethod _get_builder()
- class abacusai.api_class.project.ConstraintProjectFeatureGroupConfig
Bases:
ProjectFeatureGroupConfig
Constraint project feature group configuration.
- Parameters:
constraints (List[ConstraintConfig]) – The constraint for the feature group. Should be a list of one ConstraintConfig.
- constraints: List[ConstraintConfig]
- __post_init__()
- class abacusai.api_class.project.ReviewModeProjectFeatureGroupConfig
Bases:
ProjectFeatureGroupConfig
Review mode project feature group configuration.
- Parameters:
is_review_mode (bool) – The review mode for the feature group.
- __post_init__()
- class abacusai.api_class.project._ProjectFeatureGroupConfigFactory
Bases:
abacusai.api_class.abstract._ApiClassFactory
Helper class that provides a standard way to create an ABC using inheritance.
- config_abstract_class
- config_class_key = 'type'
- config_class_map