gsganden / model_inspector

A uniform interface to a curated set of methods for inspecting machine learning models
https://gsganden.github.io/model_inspector/
Apache License 2.0
4 stars 0 forks source link

Use `.__repr__` instead of `.methods` #51

Open gsganden opened 1 year ago

gsganden commented 1 year ago

.methods shows the methods that a given inspector provides. We could save users a bit of typing by putting that information in .__repr__ instead.

Moosquibe commented 1 year ago

Would the .__str__ be implemented separately? I think if not then print() will fall back to using __repr__ as well which might or might not be what the user wants to see (probably depending on the number of methods that will be listed).