Before you reach this stage, 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.
In order to fetch recommendations, follow the initialization step:
import beginai as bg worker = bg.BeginWorker(app_id=APP_ID, license_key=LICENSE_KEY)
To use your trained algorithm, input the following code
worker.predict_engagement(project uuid, user_id, object_id)
This will return a predicted interaction between the provided user and the object. The possible interactions are:
NOT_FOUND(in the case one of the parameters provided is not available)
If you performed the initial processing in Python, you can still use the algorithm with other SDKs like Android or iOS SDKs.
Note: Begin’s algorithms can learn continuously with additional user data while your code is deployed. Your project can learn from datasets on your mobile application, server or other applications without you having to worry about merging the learning or merging the data. Begin will take care of merging the learning.