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

Refactor Summarizers #46

Open
jc-healy opened this issue Dec 22, 2023 · 0 comments
Open

Refactor Summarizers #46

jc-healy opened this issue Dec 22, 2023 · 0 comments
Assignees

Comments

@jc-healy
Copy link
Collaborator

SummarizerDisplayWidgets by default are panel widgets that are instantiated by summarizers which return dataframes.
HvplotDisplayWidget
DataTableDisplayWidget
Eats a dataframe.
Promote summarizers.dataframe to .summarizers build a smattering of dataframe returning summarizers.
ContrastiveWordImportanceSummarizer. List of text in the constructor -> CountVectorizer -> NgramVectorize(1,4) ->
CoherentWordImportanceSummarizer. USE embedding of lists of text. TextEncoder=None -> use. Otherwise allow a model to passed in. Models have an encode method that take a list of strings. Tokenize and get keywords out.
FeatureImportanceSummarizer
ValueCountSummarizer

Docs page describing a bunch of ways to use them with lots of hvplot examples.

Summarizers which return things other than dataframes will be moved to a summarizers.custom and will eventually be paired with custom DisplayWidgets. For now hvplotDisplayWidget should provide enough flexibility for most of our use cases.

SelectorWidget (bidirectional linking a means of selecting data that is independent of the scatterplot pane. This is perhaps not a class for now. We'll do them as a set of one offs. This it moves the TimeSeriesSelection out of the summarizers. A read the docs page describing these as a coherent class of first class citizens and what it takes to build one would be great.
TimeSeriesSelectorWidget
Search is a top level selector Widget
Legends is a top level selector Widget
In some sense BokehPlotPane is a top level selector Widget.

@jc-healy jc-healy self-assigned this Dec 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant