It would be nice to be able to disable the model diagram after the model card has been instantiated by setting the attribute to False. However, this does not happen:
from sklearn.dummy import DummyClassifier
from skops import card
clf = DummyClassifier()
c = card.Card(clf)
print(c.model_diagram) # True
c.model_diagram = False
c.render() # still contains the model diagram
It is not difficult to work around this, as a user I can simply do:
c.delete("Model description/Training Procedure/Model Plot")
but it's inconvenient.
It would be nice to be able to disable the model diagram after the model card has been instantiated by setting the attribute to
False. However, this does not happen:It is not difficult to work around this, as a user I can simply do:
but it's inconvenient.