Represents custom features derived from a single vector column.
Input Parameter | Type | Default | Description |
---|---|---|---|
source_column | Optional[str] | None | Specifies the original column if this feature is derived from an embedding. |
column | str | None | The vector column name. |
n_clusters | Optional[int] | 5 | The number of clusters. |
centroids | Optional[List[List[float]]] | 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 |
vector_feature = fdl.VectorFeature(
name='vector_feature',
column='vector_column'
)