EMClusterer
Royalty FreeLanguage
Java
Metrics
API Calls - 15
Avg call duration -
N/A
Permissions
This is not a recognized license.
This is necessary for algorithms that rely on external services,
however it also implies that this algorithm is able to send your
input data outside of the Algorithmia platform.
Run an Example
Input
Output
"\nEM\n==\n\nNumber of clusters selected by cross validation: 6\n\n\n Cluster\nAttribute 0 1 2 3 4 5\n (0.21) (0.21) (0.44) (0.08) (0.05) (0.02)\n==============================================================================\nMYCT\n mean 60.96 553.7852 158.6584 33.1938 71.3883 26.5\n std. dev. 33.3779 371.5261 98.8358 9.5113 48.1706 3.5\n\nMMIN\n mean 4120.7744 671.4383 1434.4648 9469.1723 4204.9087 16000\n std. dev. 2170.464 412.1767 854.366 4776.8952 4684.0572 9797.959\n\nMMAX\n mean 17233.1799 3535.8573 7227.0051 31994.7007 12240.8157 64000\n std. dev. 6907.5953 2323.2536 4147.6668 205.9254 10110.6541 0.0007\n\nCACH\n mean 35.2158 1.0416 8.3755 70.5235 142.7769 104\n std. dev. 19.8113 2.3895 9.8353 32.6668 74.3414 26.533\n\nCHMIN\n mean 5.8689 0.989 2.4706 17.6617 10.0471 18\n std. dev. 4.288 0.4532 1.7486 13.9925 5.2983 8.2462\n\nCHMAX\n mean 18.1243 2.9387 14.5419 38.2333 51.4042 112\n std. dev. 11.9806 1.8839 16.7982 25.662 42.4063 64.9923\n\nclass\n mean 123.2677 19.7165 44.3658 351.881 229.0147 961.25\n std. dev. 52.0216 8.8439 18.0391 92.4968 134.1338 210.3276\n\n"
Install and Use
Install
Install the Algorithmia CLI client by running:
curl -sSLf https://algorithmia.com/install.sh | sh
Then authenticate by running:
$ algo auth
# When prompted for api endpoint, hit enter
# When prompted for API key, enter your key: YOUR_API_KEY
Use
algo run weka/EMClusterer/0.1.3 -d '{
"trainUrl":"data://weka/WekaSampleCollection/cpu.arff",
"modelUrl":"data://.algo/temp/model.txt",
"mode":"train"
}' --timeout 300