Clustering
Train a no-code clustering model to find natural groups in your data. 2 algorithms compared automatically, no target column needed.
Clustering finds rows that naturally group together, without you specifying what the groups should be in advance: customer segments, product groupings, behavioural cohorts. There is no target column. Edilitics looks at the features you select and finds structure in them directly.
When to Use Clustering
Use Clustering when you want to discover groups in your data, not predict a known outcome:
- Customer segmentation: group accounts by order behaviour (revenue, order frequency, discount usage) into natural segments, rather than fixed tiers you define manually.
- Product grouping: find which products sell in similar patterns, without labelling that pattern in advance.
- Behavioural cohorts: group users or accounts by usage patterns to understand who behaves similarly, before deciding what to do about it.
- Exploratory analysis: when you suspect there is structure in a dataset but do not yet know what the groups should be called.
If you already have a category you want to predict, for example a known churn or tier label, use Classification instead. If you want to find unusual individual rows rather than groups, use Anomaly Detection.
How Clustering Works
Clustering tries 2 algorithms against your data, every time, regardless of which training strategy you pick: K-Means and HDBSCAN. Each finds groups in a different way, so trying both and keeping the one that scores better gives you a result that fits your data's actual shape, instead of forcing every dataset through the same method.
What changes between Fast Prototype, Balanced, and Best Quality is not which algorithms run, but how hard each one searches for the best grouping:
- K-Means tries a range of possible group counts and keeps whichever count produces the most well-separated groups. Fast Prototype checks a narrow range (2 to 5 groups). Balanced checks the standard range (2 to 8). Best Quality checks a wider range (2 to 12), which costs more time but gives the algorithm more chances to land on the group count that actually fits your data.
- HDBSCAN has one setting that controls how large a group has to be before it counts as a real cluster rather than noise. Fast Prototype and Balanced use one sensible default for that setting, sized to your row count. Best Quality tries 3 different settings around that default and keeps whichever produces the most internally consistent clusters.
This means Balanced is not a watered-down Best Quality. Both tiers run the same 2 algorithms on the same data; Best Quality simply searches a wider space before settling on a configuration.
Preparing Your Data
Clustering has no target column, which changes what "preparing your data" means compared to the other task types.
What you should check:
- Pick features that are actually meaningful for grouping. Clustering finds structure in whatever columns you give it; including irrelevant columns can dilute the groups it finds.
revenue,units_sold, anddiscount_pcttogether tell a more coherent story than a random assortment of columns. - At least 20 usable rows.
What Edilitics handles for you:
- ID-like columns are excluded from feature selection automatically, for example
order_idorcustomer_id. These would only fragment the clustering into one group per row. - Mixed numeric and categorical features are both supported. Categorical columns like
regionorproduct_tierare encoded automatically before clustering; you do not need to convert them yourself. - The number of features you can select depends on your plan. 50 columns on Launch, 100 on Scale, 200 on Pinnacle, unlimited on Enterprise.
Sample Dataset
edilitics_sample_orders.csv
500 B2B SaaS orders, H1 2024. No target column needed; features used in this example: revenue, units_sold, discount_pct, region. · 500 rows
Relevant columns:
Prop
Type
How to Train a Clustering Model
Pick a source table
Open Predict and click Train Model. Select the table to train on, for example edilitics_sample_orders.
Choose Clustering
On the Goal step, select Clustering. No target column, time column, or event column is needed for this task type.
Select predictor features
On the Features step, choose the columns that should define the groups, for example revenue, units_sold, discount_pct, and region. ID-like columns are excluded automatically.
Pick a training strategy and launch
Choose Fast Prototype for a quick first pass, or Balanced / Best Quality to have K-Means and HDBSCAN search harder for the best grouping. Click Start AutoML Training.
Review the report
Once training finishes, open the model's Run History and the Report tab. Review the leaderboard and the per-cluster profiles before deciding whether the grouping makes business sense.
What Gets Tried
Clustering evaluates 2 algorithms, at every training strategy. You never pick one directly; Edilitics fits each against your data and keeps the best performer.
Prop
Type
HDBSCAN cannot be applied to new data. It produces a grouping of the rows it was trained on, not a reusable rule for classifying new rows. If HDBSCAN wins, that model is automatically excluded from Transform's Add Predictions picker, and from the Use this model button in Predict. If you need to apply a clustering model to new data going forward, K-Means is the one that always supports it.
The champion is whichever candidate scores highest Silhouette Score, with faster fit time breaking a tie.
What the Report Shows
A clustering run's Report tab has 2 parts:
- Leaderboard: every algorithm that was tried, its Silhouette Score, and its rank. The top row is the champion.
- Cluster Profiles: every cluster the champion found, its size, and how its feature averages differ from the overall dataset.
There is no SHAP drivers chart or confusion matrix for Clustering, since there is no target to explain. Every report also includes Run Diagnostics and a Training Data Profile, regardless of task type.
Operation Reference
Prop
Type
Frequently Asked Questions
Next Steps
Anomaly Detection
Find individual unusual rows instead of natural groups.
Classification
Predict a category you already know, instead of discovering groups.
Predict overview
The full training-to-deploy loop: iterate, review, retrain, and apply.
Need help? Email support@edilitics.com with your workspace, job ID, and context. We reply within one business day.
Last updated on