SimpleKNN

(no tags)

Algorithmia Platform License · Internet Access

Run an Example

"{results:[2,3,4]}"

Install & Use

Use

curl -X POST -d '"{k:3,data:[[1,2,3],[2,3,4],[3,4,5],[4,5,6],[5,6,7],[6,7,8],[7,8,9],[8,9,10],[9,10,11],[10,11,12],[11,12,13],[12,13,14],[13,14,15],[14,15,16],[15,16,17],[16,17,18],[17,18,19]],classes:[1,1,1,2,2,2,3,3,3,4,4,4,5,5,5,6,6],points:[[5,6,7],[8,9,10],[10,11,12]]}"' -H 'Content-Type: application/json' -H 'Authorization: Simple YOUR_API_KEY' https://api.algorithmia.com/v1/algo/thatguy2048/SimpleKNN/0.1.0