Prediction

The prediction API provides an ai-powered sorting of multi-dimensional data. As a first request, you define a set of rules describing the structure of your data (e.g. numerical or textual). Then, you can send the data in form of a JSON-list. As a return value, you obtain the sorted list, predicting the matching quota.

Required steps

  • First you call the setRules method of your DanubeClient instance to save your rules-set. Avoid repetitive calls.
  • After that you can call the danubePrediction method of your DanubeClient instance to let danube.ai sort your data.

Optional steps

  • You can call the getRules method of your DanubeClient instance to get a list of all your created rules-sets.