Page 1 of 1

Problem in the output of k-means

Posted: Mon Nov 27, 2023 2:51 pm
by fabstat
Hello
I realised a k-means analysis in Jamovi (Snowcluster package) and I have found a problem in the output.

The label of the clusters in the table Centroids of cluster Table is not the same than in the graph Plot of means across clusters. See the file attached:
Cluster 4 which is the maximum on the first variable, is labelled cluster 1 in the graph.

If I save the cluster membership and make descriptive statistics , I find the same results than in the Table.

Do I understand incorrectly the outputs ?

Thanks for your help.
Fabienne

Re: Problem in the output of k-means

Posted: Tue Nov 28, 2023 7:48 am
by seol
Hi fabstat

Are you using latest version of snowCluster module(ver.7.2.6)? you can check it in jamovi library. Here is a example data(iris data) in folder, which produce correct results.

Best Regards
Seol

Re: Problem in the output of k-means

Posted: Tue Aug 27, 2024 9:25 pm
by Arnaud Mortier
Hello,

I am having the exact same issue on jamovi 2.3.17.0 with snowCluster version 7.0.1 (the latest version that seems available for linux).
More precisely, the problem occurs when I click (or unclick) the "optimal number of clusters" option from the Plot section: it randomly assigns new labels to the clusters, so that the means table changes, but it doesn't change the means plot accordingly - so that the means plot is no more consistent with the labels.

Thanks for any help.

Best regards,
Arnaud

Re: Problem in the output of k-means

Posted: Wed Aug 28, 2024 6:05 am
by seol
Hi Arnaud

Could you try to install the latest version of jamovi and snowCluster module(ver. 7.3.9) in jamovi library?

Kind Regards
Seol

Re: Problem in the output of k-means

Posted: Thu Aug 29, 2024 2:32 pm
by Arnaud Mortier
Hi Seol,

In the library (https://www.jamovi.org/library.html), the latest version that I can see is 6.7.1:
Screenshot from 2024-08-29 16-27-24.png
Screenshot from 2024-08-29 16-27-24.png (34.47 KiB) Viewed 6100 times
Perhaps is it related to the fact that I'm browsing from a linux distribution?
For some reason when I browse the library from within jamovi, the latest version appears to be 7.0.1:
Screenshot from 2024-08-29 16-30-59.png
Screenshot from 2024-08-29 16-30-59.png (25.45 KiB) Viewed 6100 times
Kind regards,
Arnaud

Re: Problem in the output of k-means

Posted: Thu Aug 29, 2024 9:49 pm
by seol
Hi Arnaud

The module versions you mentioned above are very old versions that have not been updated.
It is simply a webpage that shows that these kinds of modules are available.
You can download the latest modules from the jamovi library, which is available inside the jamovi program.

Best Regards
Seol

Re: Problem in the output of k-means

Posted: Fri Aug 30, 2024 8:48 am
by Arnaud Mortier
Hi Seol,

From inside jamovi, I see the version 7.0.1 which is installed, and I don't have the "update" option (see the second screenshot of my previous post).
This usually indicates that there are no later versions available for linux.

Kind regards,
Arnaud

Re: Problem in the output of k-means

Posted: Fri Aug 30, 2024 9:04 am
by Arnaud Mortier
Additional info (sorry I couldn't find a button to simply edit my previous answer): I checked with a colleague of mine who works on windows, from inside jamovi the version that he sees is 7.1.7 and the problem does occur similarly.

Best regards,
Arnaud

Re: Problem in the output of k-means

Posted: Sat Aug 31, 2024 12:26 am
by seol
Hi Arnaud

Here is a snowCluster module in Ubuntu jamovi now. Please check the version of snowCluster module.

Kind Regards
Seol

Re: Problem in the output of k-means

Posted: Mon Sep 02, 2024 12:26 pm
by Arnaud Mortier
Hi Seol,

It works, thank you very much for your help and your patience.

I had to update jamovi to 2.5.9 for the module to show up in the library.

Thanks again.

Kind regards,
Arnaud