{% extends "base.html" %} {% block content %}

ML models

{% if catalog.exposure_info %} ML model consumers, auto-derived by tracing dbt type: ml exposures (and the consumes: overlay). Column-level used_by is also honored, but deprecated. {% else %} ML model consumers. Add type: ml exposures to your dbt project to derive these automatically; column-level used_by still works but is deprecated. {% endif %} Each page lists the features that model reads.

{% if not features_by_model %}

No declared consumers

Add type: ml exposures to your dbt project (recommended), or set the deprecated meta.feature_store.used_by: [model] on feature columns.

{% else %}
{% for model_name, entries in features_by_model.items() %} {% set group_count = (entries | map(attribute=0) | map(attribute='unique_id') | unique | list | length) %} {% set exp = catalog.exposure_info.get(model_name) %}

{{ model_name }}

{% if exp and exp.maturity %}{{ exp.maturity }}{% endif %}
{{ entries|length }}{{ ' feature' if entries|length == 1 else ' features' }}
{% if exp and exp.description %}

{{ exp.description }}

{% else %}

From {{ group_count }} feature group{{ '' if group_count == 1 else 's' }}.

{% endif %}
{% if exp and exp.owner_name %}{{ exp.owner_name }}{% endif %} {% if exp %}exposure{% else %}manual{% endif %}
{% endfor %}
{% endif %} {% endblock %}