Classifier
Algorithm
Classifier
Use Cases
Prerequisites
Before you start using our Recommender algorithm, ensure you’ve:
Learning usually takes about 30 minutes. Once complete, your machine learning algorithm is ready to be used on your mobile device, browser, connected vehicles, or server applications.
Procedure
In order to begin classifying objects, follow the initialization step:
import ai.begin.android.core.BeginWorker; BeginWorker beginWorker = new BeginWorker("APP_ID", "LICENSE_KEY", getApplicationContext());
To use your trained algorithm, input the following code:
BeginWorker.getInstance().classify("project_id", "user_id_or_target_id", new ResponseInterface() { @Override public void success(JsonElement obj) { Log.d("Begin API Response", obj.toString()); } @Override public void error(Object obj) { Log.d("Begin API Response", obj.toString()); } });
This will return the classification labels for the provided object/user along with the confidence score
If you performed the initial processing in Python, you can still use the algorithm with other SDKs like Android or iOS SDKs.