class_docstr: Salience map clustering.
class_docstr_tok: ["Salience","map","clustering","."]
code: def is_compatible(
      self, model: lit_model.Model, dataset: lit_dataset.Dataset
  ) -> bool:
      return any(
          interp.is_compatible(model=model, dataset=dataset)
          for interp in self.salience_mappers.values()
      )
  
file_path: lit/lit_nlp/components/salience_clustering.py
imports: from collections.abc import Sequence
  from typing import Optional
  from lit_nlp.api import components
  from lit_nlp.api import dataset
  from lit_nlp.api import model
  from lit_nlp.api import types
  import numpy
  from sklearn import cluster
label_desc: Use image node_id 6 for calling the SalienceClustering obj's underlying member method code with example usage: obj.is_compatible(model, dataset) and returns: any