abacusai.project_feature_group_schema

Classes

ProjectConfig

Project-specific config for a feature group

AbstractApiClass

Schema

A schema description for a feature

ProjectFeatureGroupSchema

A schema description for a project feature group

Module Contents

class abacusai.project_feature_group_schema.ProjectConfig(client, type=None, config={})

Bases: abacusai.return_class.AbstractApiClass

Project-specific config for a feature group

Parameters:
  • client (ApiClient) – An authenticated API Client instance

  • type (str) – Type of project config

  • config (ProjectFeatureGroupConfig) – Project-specific config for this feature group

__repr__()

Return repr(self).

to_dict()

Get a dict representation of the parameters in this class

Returns:

The dict value representation of the class parameters

Return type:

dict

class abacusai.project_feature_group_schema.AbstractApiClass(client, id)
__eq__(other)

Return self==value.

_get_attribute_as_dict(attribute)
class abacusai.project_feature_group_schema.Schema(client, name=None, featureMapping=None, detectedFeatureMapping=None, featureType=None, detectedFeatureType=None, dataType=None, detectedDataType=None, nestedFeatures={}, pointInTimeInfo={})

Bases: abacusai.return_class.AbstractApiClass

A schema description for a feature

Parameters:
  • client (ApiClient) – An authenticated API Client instance

  • name (str) – The unique name of the feature.

  • featureMapping (str) – The mapping of the feature. The possible values will be based on the project’s use-case. See the (Use Case Documentation)[https://api.abacus.ai/app/help/useCases] for more details.

  • detectedFeatureMapping (str) – Detected feature mapping for this feature

  • featureType (str) – The underlying data type of each feature: CATEGORICAL, CATEGORICAL_LIST, NUMERICAL, TIMESTAMP, TEXT, EMAIL, LABEL_LIST, ENTITY_LABEL_LIST, PAGE_LABEL_LIST, JSON, OBJECT_REFERENCE, MULTICATEGORICAL_LIST, COORDINATE_LIST, NUMERICAL_LIST, TIMESTAMP_LIST, ZIPCODE, URL, PAGE_INFOS, PAGES_DOCUMENT, TOKENS_DOCUMENT.

  • detectedFeatureType (str) – The detected feature type for this feature

  • dataType (str) – The underlying data type of each feature: INTEGER, FLOAT, STRING, DATE, DATETIME, BOOLEAN, LIST, STRUCT, NULL, BINARY.

  • detectedDataType (str) – The detected data type for this feature

  • nestedFeatures (NestedFeatureSchema) – List of features of nested feature

  • pointInTimeInfo (PointInTimeFeatureInfo) – Point in time information for this feature

__repr__()

Return repr(self).

to_dict()

Get a dict representation of the parameters in this class

Returns:

The dict value representation of the class parameters

Return type:

dict

class abacusai.project_feature_group_schema.ProjectFeatureGroupSchema(client, nestedSchema=None, schema={}, duplicateFeatures={}, projectConfig={})

Bases: abacusai.return_class.AbstractApiClass

A schema description for a project feature group

Parameters:
  • client (ApiClient) – An authenticated API Client instance

  • nestedSchema (list) – List of schema of nested features

  • schema (Schema) – List of schema description for the feature

  • duplicateFeatures (Schema) – List of duplicate featureschemas

  • projectConfig (ProjectConfig) – Project-specific config for this feature group.

__repr__()

Return repr(self).

to_dict()

Get a dict representation of the parameters in this class

Returns:

The dict value representation of the class parameters

Return type:

dict