Single user-data processing
First, install Begin’s pip library by calling:
pip install beginai
This will initiate the installation process.
If using virtual environments, don’t forget to add beginai to the requirements.txt file as well.
Next, open your Python editor and
- import the library
- initialize it with the app_id and license_key that you can find under your settings menu in your account.
import beginai as bg APP_ID = "APP_ID" LICENSE_KEY = "LICENSE_KEY" beginWorker = bg.BeginWorker(app_id=APP_ID, license_key=LICENSE_KEY)
Now you’re good to load your users’ data for processing on your computer. Copy the code from your Integration Code page to your SDK
DON’T FORGET! All fields and interactions must be defined in the schema before they are used in the SDK.
For more information what each field represents, refer to our field guide:Integration Code Field Guide - Python
Once you’ve loaded your data, the final step is to send the following call:
When you write learn from data, anonymized and secure signatures are generated and sent to Begin platform to initiate the machine learning process.
RUNNING ON MULTIPLE PLATFORMS? You can process users from any SDK simultaneously. Once you make the above call, the system will merge the learnings across all platforms automatically.