fdl.Multivariate

Represents custom features derived from multiple columns.

Input ParameterTypeDefaultDescription
typeCustomFeatureTypeCustomFeatureType.FROM_COLUMNSIndicates this feature is derived from multiple columns.
columnsList[str]NoneList of original columns from which this feature is derived.
n_clustersOptional[int]5The number of clusters.
centroidsOptional[List]Centroids of the clusters in the embedded space. Number of centroids equal to n_clustersCentroids of the clusters in the embedded space. Number of centroids equal to `n_clusters
monitor_componentsboolFalseWhether to monitor each column in columns as individual feature. If set to True, components are monitored and drift will be available.
multivariate_feature = fdl.Multivariate(
    name='multi_feature',
    columns=['column_1', 'column_2']
)