Represents custom features derived from multiple columns.
Input Parameter | Type | Default | Description |
---|---|---|---|
columns | List[str] | None | List of original columns from which this feature is derived. |
n_clusters | Optional[int] | 5 | The number of clusters. |
centroids | Optional[List] | Centroids of the clusters in the embedded space. Number of centroids equal to n_clusters | Centroids of the clusters in the embedded space. Number of centroids equal to n_clusters |
monitor_components | bool | False | Whether 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']
)