cluster_profile
Calculate the average of each feature per cluster to reveal what characterizes each group. Specify the cluster column and limit to selected features if needed.
Instructions
Descriptive statistics per cluster: mean of each feature for each cluster. Use to understand what characterizes each cluster. If feature_columns is empty, uses all numeric columns. Example: cluster_profile(cluster_column="cluster", feature_columns=["Revenue","Weight","Pieces"])
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| df_name | No | ||
| cluster_column | Yes | ||
| feature_columns | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |