This is KMeans2D with normalisation. You can see significant differences in how datapoints are clustered (more accurate for what I need). The expression for this is:
So as a starting point I'm trying to replace with KMeansND. I can achieve a similar result as KMeans2D without normalisation by using the expression below. The output is the exact same as no normalisation KMeans2D (as expected):
The expression throws no errors and scatter plot generates fine, but the output looks the same as the non-normalised version, showing the zscore measure hasn't been applied.
I suspect this may have something to do with the AGGR and TOTAL function in the KMeansND, but I'm unsure.