[good first issue - intermediate] Plot Materializer for Sklearn Plots #456
Labels
good first issue
Good for newcomers
hacktoberfest
Hacktoberfest issues
help wanted
Extra attention is needed
Is your feature request related to a problem? Please describe.
It is common for debugging scenarios in machine learning to produce plots for debugging purposes as a pipeline runs. You can do this with Hamilton, but we believe the ergonomics could be improved with materializers.
Describe the solution you'd like
Given the following Hamilton functions:
We want to capture
cm_display
and save the produced plot somewhere.One possible materializer API:
That would handle taking the object and creating a PNG from it.
We should try to handle a few of the common plot types in sklearn.
Describe alternatives you've considered
You do this in the function -- but I think the materializer pattern helps abstract this.
The text was updated successfully, but these errors were encountered: