Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions vetiver/templates/model_card.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ A [model card](https://doi.org/10.1145/3287560.3287596) provides brief, transpar
```{python}
#| echo: false
model_desc = v.description
num_features = len(v.ptype.construct().dict())
num_features = len(v.prototype.construct().dict())

display(Markdown(f"""
- A {model_desc} using {num_features} feature{'s'[:num_features^1]}.
Expand Down Expand Up @@ -91,7 +91,7 @@ display(Markdown(f"""
- The training dataset for this model has the "prototype" or signature:
```{python}
#| echo: false
v.ptype.construct().schema().get("properties")
v.prototype.construct().schema().get("properties")
```

- The evaluation dataset used in this model card is ...
Expand Down