{ "personal_datasets": [ "datatab.xlsx", "file_example_XLSX_100.xlsx", "file_example_XLS_50.xls", "fuel_prices_52.csv", "iris.csv", "test.xlsx" ], "public_datasets": [ "iris.csv" ] }
{ "items": [ { "Gender": "Male", "Age": 48, "Salary": 1000 }, { "Gender": "Male", "Age": 33, "Salary": 1500 }, { "Gender": "Female", "Age": 29, "Salary": 2000 }, { "Gender": "Male", "Age": 52, "Salary": 3500 }, { "Gender": "Female", "Age": 41, "Salary": 2200 }, { "Gender": "Female", "Age": 39, "Salary": 1800 } ], "numerical_columns": [ "Age", "Salary" ] }
{ "dataset":"sample.csv", "dataset-type":"personal", "clusters":"5", "columns":["Age","Salary"], "apikey":"0a8366a07c0d8fccc48bab2e657f12d0" }
{ "sse": [ "1.2898762444864522", "0.5491175803402647", "0.23902558286074355", "0.05170359168241964", "0.016580718336483915" ], "suggested-k": "2" }
{ "dataset":"sample.csv", "dataset-type":"personal", "clusters":"5", "columns":["Age","Salary"], "apikey":"0a8366a07c0d8fccc48bab2e657f12d0" }
{ "items": [ { "Age": "48", "Salary": "1000", "cluster": "3" }, { "Age": "33", "Salary": "1500", "cluster": "4" }, { "Age": "29", "Salary": "2000", "cluster": "5" }, { "Age": "52", "Salary": "3500", "cluster": "2" }, { "Age": "41", "Salary": "2200", "cluster": "1" }, { "Age": "39", "Salary": "1800", "cluster": "1" } ] }
valid files are {csv,xls,xlsx}
content type must be form-data
Request exampleform-data: dataset:{file}, dataset-type:{personal|public}, apikey:{apikey}
{ "message"=>"file uploaded."}
{ "dataset":"sample.csv", "dataset-type":"personal", "apikey":"0a8366a07c0d8fccc48bab2e657f12d0" }
{ "message"=>"dataset deleted."}
{ "email":"example@email.com", "password":"verysecret123", "fname":"Konstantinos", "lname":"Hliadhs" }
{ "message"=>"User registered."}
{ "email":"example@email.com", "password":"verysecret123" }
{ "email":"example@email.com", "fname":"Konstantinos", "lname":"Hliadhs", "apikey":"0a8366a07c0d8fccc48bab2e657f12d0"}
{ "fname":"Kostas", "password":"verysecret12345", "apikey":"0a8366a07c0d8fccc48bab2e657f12d0" }
{ "apikey":"0a8366a07c0d8fccc48bab2e657f12d0" }