eli5 icon indicating copy to clipboard operation
eli5 copied to clipboard

explain_prediction_keras support for Keras tokenizer

Open teabolt opened this issue 5 years ago • 0 comments

When explaining scikit-learn estimators we can pass arguments like vec or vectorized to vectorize raw text into arrays.

What if we added the same support for Keras Grad-CAM explanations (https://github.com/TeamHG-Memex/eli5/pull/325)? For example, we can make tokens take in a vectorizer function, or use keras.preprocessing.text.Tokenizer. doc could then just be a raw string document.

teabolt avatar Aug 17 '19 18:08 teabolt