Recommender

Algorithm
Recommender
Use Cases
Content Recommender, Game recommenders, Price category recommenders, Product recommender, Service Recommenders, etc.

Prerequisites

Before you start using our Recommender algorithm, ensure you’ve:
  1. Created a schema
  1. Integrated code to process your data and installed Begin’s Android SDK
  1. Created a project with the objective “Recommender”
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 fetch recommendations, follow the initialization step:
import ai.begin.android.core.BeginWorker; BeginWorker beginWorker = new BeginWorker("APP_ID", "LICENSE_KEY", getApplicationContext());
You can monitor the learning on your dashboard. In time, enough users will interact with your app and provide enough learning material for using the recommender.
💡
NOTE: The timeframe will vary depending on the number of users interacting with your software. For example, if you have 100k active users, your model is usually ready in two hours.
To use your trained algorithm, input the following code:
BeginWorker.getInstance().recommend("project_id", "user_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 recommended list of target IDs for the given user along with the similarity index.
 
Note: limit and page are optional values, if not provided the SDK will default to the top 20 results for page 1
 
If you performed the initial processing in Python, you can still use the algorithm with other SDKs like Android or iOS SDKs.