Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HeatMap visualization of SLIM learning #26

Closed
4 tasks
remiadon opened this issue May 9, 2020 · 2 comments
Closed
4 tasks

HeatMap visualization of SLIM learning #26

remiadon opened this issue May 9, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@remiadon
Copy link
Collaborator

remiadon commented May 9, 2020

Describe the workflow you want to enable

Would be nice if we can visualize SLIM learning data representation stepwise

Some idea to do this:

  • create an async watcher, making deep copies of an object attributes at predefined steps
  • create a notebook showing data import + SLIM instantiation + watcher instantiation
  • make watcher send data to a matplotlib FuncAnimation or streamz DataFrame
  • plot the resulting animation

This way we could get a sexy representation of what MDL pattern mining algorithms are doing

@remiadon remiadon added the enhancement New feature or request label May 9, 2020
@remiadon remiadon added this to To do in sprint 2 May 13, 2020
@remiadon remiadon removed this from To do in sprint 2 May 15, 2020
@remiadon
Copy link
Collaborator Author

remiadon commented Jun 2, 2020

visualization is an entire field on its own
I'll write a watcher just to keep track of compression ratio and plot them

@remiadon
Copy link
Collaborator Author

remiadon commented Jun 7, 2020

OK new thoughts on this

What we actually want is a logger
scikit-learn people already had a discussion about this

The latest trend is here
They are defining a callback API, just like in Keras

Making skmine compatible with this new sklearn-callbacks library should allow plenty of new usages.
But this is not straightforward, we have to keep lot of sklearn-compt attributes inside our objects.

Conclusion;

  • writing our own logging handlers is a simple, striaghtfoward way to track metrics
  • providing compatibility with the newest trends in sklearn is even better, but requires a lot of work

@remiadon remiadon closed this as completed Jul 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant