FarthestFirstClusterer

Algorithmia Platform License · Internet Access

Run an Example

"\n FarthestFirst\n==============\n\nCluster centroids:\n\nCluster 0\n\t 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.523438 0.996094 0.453125 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.609375 0.992188 0.902344 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.871094 0.992188 0.984375 0.25 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.285156 0.992188 0.992188 0.277344 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.453125 0.992188 0.992188 0.277344 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.523438 0.992188 0.988281 0.269531 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.523438 0.992188 0.921875 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.867188 0.992188 0.824219 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.054688 0.898438 0.992188 0.570313 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.414063 0.992188 0.992188 0.570313 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.574219 0.992188 0.992188 0.652344 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.574219 0.992188 0.992188 0.226563 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.828125 0.992188 0.902344 0.0625 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.925781 0.992188 0.632813 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.273438 0.988281 0.992188 0.519531 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.476563 0.992188 0.992188 0.742188 0.050781 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.628906 0.992188 0.992188 0.828125 0.03125 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.628906 0.992188 0.992188 0.363281 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.628906 0.992188 0.992188 0.171875 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.503906 0.992188 0.746094 0.050781 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 1.0000000e+00\nCluster 1\n\t 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.105469 0.511719 0.964844 0.992188 0.992188 0.863281 0.535156 0.222656 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.109375 0.515625 0.945313 0.992188 0.988281 0.988281 0.988281 0.988281 0.992188 0.894531 0.15625 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.335938 0.867188 0.988281 0.988281 0.992188 0.988281 0.988281 0.988281 0.988281 0.992188 0.988281 0.816406 0.03125 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.527344 0.972656 0.988281 0.988281 0.988281 0.992188 0.988281 0.988281 0.988281 0.988281 0.992188 0.988281 0.988281 0.511719 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.027344 0.484375 0.992188 0.988281 0.988281 0.988281 0.988281 0.992188 0.988281 0.988281 0.988281 0.988281 0.992188 0.988281 0.988281 0.917969 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.042969 0.714844 0.992188 0.996094 0.992188 0.992188 0.992188 0.992188 0.996094 0.992188 0.992188 0.992188 0.992188 0.996094 0.992188 0.992188 0.917969 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.421875 0.988281 0.988281 0.992188 0.988281 0.957031 0.472656 0.726563 0.992188 0.988281 0.988281 0.988281 0.988281 0.992188 0.988281 0.988281 0.980469 0.464844 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.183594 0.96875 0.988281 0.988281 0.992188 0.957031 0.347656 0.0 0.101563 0.496094 0.292969 0.445313 0.703125 0.988281 0.992188 0.988281 0.988281 0.988281 0.9375 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.023438 0.648438 0.988281 0.988281 0.988281 0.96875 0.339844 0.0 0.0 0.0 0.0 0.0 0.292969 0.867188 0.988281 0.992188 0.988281 0.988281 0.988281 0.988281 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.285156 0.988281 0.988281 0.988281 0.988281 0.328125 0.0 0.0 0.0 0.0 0.0 0.28125 0.949219 0.988281 0.988281 0.992188 0.988281 0.988281 0.988281 0.988281 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.386719 0.992188 0.992188 0.992188 0.761719 0.0 0.0 0.0 0.0 0.0 0.0 0.566406 0.992188 0.992188 0.992188 0.996094 0.992188 0.992188 0.992188 0.992188 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.964844 0.988281 0.988281 0.988281 0.554688 0.0 0.0 0.0 0.0 0.0 0.0 0.894531 0.988281 0.988281 0.988281 0.992188 0.988281 0.988281 0.988281 0.988281 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.992188 0.988281 0.988281 0.988281 0.410156 0.0 0.0 0.0 0.0 0.0 0.0 0.742188 0.988281 0.988281 0.988281 0.992188 0.988281 0.988281 0.988281 0.988281 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.992188 0.988281 0.988281 0.988281 0.332031 0.027344 0.0 0.0 0.0 0.0 0.0 0.402344 0.976563 0.988281 0.988281 0.992188 0.988281 0.988281 0.988281 0.835938 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.992188 0.988281 0.988281 0.988281 0.988281 0.707031 0.152344 0.0 0.0 0.0 0.230469 0.355469 0.898438 0.988281 0.988281 0.992188 0.988281 0.988281 0.988281 0.382813 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.765625 0.992188 0.992188 0.992188 0.992188 0.996094 0.992188 0.992188 0.992188 0.992188 0.996094 0.992188 0.992188 0.992188 0.992188 0.996094 0.992188 0.992188 0.816406 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.4375 0.988281 0.988281 0.988281 0.988281 0.992188 0.988281 0.988281 0.988281 0.988281 0.992188 0.988281 0.988281 0.988281 0.988281 0.992188 0.988281 0.828125 0.117188 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.246094 0.875 0.988281 0.988281 0.988281 0.992188 0.988281 0.988281 0.988281 0.988281 0.992188 0.988281 0.988281 0.988281 0.988281 0.949219 0.566406 0.070313 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.125 0.875 0.988281 0.988281 0.992188 0.988281 0.988281 0.988281 0.988281 0.992188 0.945313 0.917969 0.917969 0.535156 0.152344 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.042969 0.433594 0.632813 0.636719 0.964844 0.988281 0.707031 0.632813 0.28125 0.121094 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0000000e+00\n\n"

Install & Use

Use

curl -X POST -d '{
"trainUrl":"data://weka/WekaSampleCollection/train.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/FarthestFirstClusterer/0.1.3