fdl.VectorFeature

Represents custom features derived from a single vector column.

Input ParameterTypeDefaultDescription
source_columnOptional[str]NoneSpecifies the original column if this feature is derived from an embedding.
columnstrNoneThe vector column name.
n_clustersOptional[int]5The number of clusters.
centroidsOptional[List[List[float]]]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
vector_feature = fdl.VectorFeature(
    name='vector_feature',
    column='vector_column'
)