cluster_by_number_of_clusters
The job groups your data into clusters based on similarity, facilitating better organization and analysis.
This job allows you to specify the number of clusters or let the system determine the optimal number based on cluster quality metrics.
It also provides options for sorting content within clusters and sorting clusters by internal diversity.
Required Account Privileges: "read"
Request JSON ["inputs"]:
"archive": string (3 <= len <= 30) unique in account null NOT allowed A unique string identifier for the archive within your account. "archive_content_ids_subset": list of ints null allowed Optional. A list of integers representing the IDs of the specific contents to consider for filtering. If not provided, all contents in the archive will be considered. "nr_of_clusters": int (>=1) null allowed An integer specifying the number of clusters to create. Setting 1 or null lets the system determine the number based on cluster quality metrics. "sort_content_ids_by_distance_to_cluster_center": bool null NOT allowed A boolean indicating whether to sort content IDs by their distance to the cluster center. "sort_clusters_by_descending_inner_diversity": bool null NOT allowed A boolean indicating whether to sort clusters by descending internal diversity.
Response JSON ["results"]
"clustered_content_ids": list of lists of ints "average_distance_between_cluster_elements_and_cluster_center": float or null