Model Ingestion¶
Although a number of model ingestion methods are supported by the TruEra Python SDK, either
add_model()
or add_python_model()
is recommended. For the most popular Python modeling frameworks, the SDK supports direct upload of model objects with a quick and easy flow. Shown in the following example, you first create a TruEra project and data collection, then add the model object.
# Set up project and add data
tru.add_project("My Test Project", score_type="probits")
tru.add_data_collection("My Test Data Collection")
# Ingest model
tru.add_python_model("My Model Name", my_model_object)
Detailed starter guidance for employing these SDK ingestion methods is included in Basic Model Ingestion Methods.
Additionally, more advanced ingestion methods are supported for:
Click a link above to see guidance on the respective methods.
Click Next below to continue.