Generating model insights

This section describes how to generate and get model insights in AI & Analytics Engine.

For those that are trained successfully, you can generate and get model insights as in the following example:

from aiaengine import Model, ModelInsightType

# get the model we want to generate the insights
model = Model(id='cfbeab51-8d38-4038-a0b9-cd526940fae9')

# generate the insights
model_insights = model.generate_insights()

for insight in model_insights:
    print('-' * 80)

# can get individual insights if generated
feature_importance_insight = model.get_insight(ModelInsightType.FeatureImportance)
Coming soon