CustomFeatureType
CustomFeatureType
Examples
```python
# Multi-column feature for monitoring column interactions
multivariate_feature = fdl.Multivariate(
name=’user_profile’,
columns=[‘age’, ‘income’, ‘location’],
monitor_components=True
)
# Vector feature for embedding monitoring
vector_feature = fdl.VectorFeature(
name=’product_embedding’,
column=’product_vector’,
n_clusters=10
)
# Text embedding feature with clustering
text_embedding = fdl.TextEmbedding(
name=’review_sentiment’,
column=’review_embedding’,
n_clusters=5,
n_tags=10
)
# Image embedding feature
image_embedding = fdl.ImageEmbedding(
name=’image_features’,
column=’image_embedding’,
n_clusters=8
)
# Enrichment feature for data validation
enrichment_feature = fdl.Enrichment(
name=’email_validation’,
enrichment=’email_validation’,
columns=[‘email_address’],
config={‘strict’: True}
## )FROM_COLUMNS = 'FROM_COLUMNS'
FROM_VECTOR = 'FROM_VECTOR'
FROM_TEXT_EMBEDDING = 'FROM_TEXT_EMBEDDING'
FROM_IMAGE_EMBEDDING = 'FROM_IMAGE_EMBEDDING'
ENRICHMENT = 'ENRICHMENT'
Last updated
Was this helpful?