Try the API

"\nXMeans\n======\nRequested iterations            : 1\nIterations performed            : 1\nSplits prepared                 : 2\nSplits performed                : 1\nCutoff factor                   : 0.5\nPercentage of splits accepted \nby cutoff factor                : 0 %\n------\nCutoff factor                   : 0.5\n------\n\nCluster centers                 : 3 centers\n\nCluster 0\n            45.94736842105263 8029.368421052632 30031.842105263157 85.73684210526316 13.657894736842104 44.8421052631579 354.7368421052632\nCluster 1\n            148.35333333333332 1872.6666666666667 8291.08 13.266666666666667 2.953333333333333 13.813333333333333 54.89333333333333\nCluster 2\n            885.7142857142857 637.7142857142857 3834.4761904761904 0.9523809523809523 0.9523809523809523 2.0 17.19047619047619\n\nDistortion: 52.578638\nBIC-Value : 676.233187\n"

Install & Use

Use

curl -X POST -d '{
"trainUrl":"data://weka/WekaSampleCollection/cpu.arff",
"modelUrl":"data://.algo/temp/model.txt",
"mode":"train"
}' -H 'Content-Type: application/json' -H 'Authorization: Simple YOUR_API_KEY' https://api.algorithmia.com/v1/algo/weka/XMeansClusterer/0.1.3
  
Curl Docs →