Development Performance K-Means Cluster Analisys Operator

I’m using in my java program the K-Means Cluster Analisys Operator. I tried the same operation in SNAP Application and in my program but the running time is very different, in my program is too expensive. Have anyone some solution for my problem? Best regards Caterina

Without knowing your code it is hardly possible to give suggestions.
You can have a look at our code or simply use SNAP.

Thanks for your reply, I have solved the problem adding the following line code at the starting of my program:
“SystemUtils.init3rdPartyLibs(null);”. Best regards