docstr: Compute the test-statistic (LSDD) between the reference window and test window.
  
  Parameters
  ----------
  x_t
      A single instance to be added to the test-window.
  
  Returns
  -------
  LSDD estimate between reference window and test window.
docstr_tok: ["Compute","the","test-statistic","(","LSDD",")","between","the","reference","window","and","test","window",".","Parameters","--","--","--","--","--","x_t","A","single","instance","to","be","added","to","the","test-window",".","Returns","--","--","--","-","LSDD","estimate","between","reference","window","and","test","window","."]
code: def score(self, x_t: Union[np.ndarray, Any]) -> float:
      """
      Compute the test-statistic (LSDD) between the reference window and test window.
  
      Parameters
      ----------
      x_t
          A single instance to be added to the test-window.
  
      Returns
      -------
      LSDD estimate between reference window and test window.
      """
      x_t = super()._preprocess_xt(x_t)
      x_t = tf.convert_to_tensor(x_t)
      x_t = self._normalize(x_t)
      self._update_state(x_t)
      h = self.c2s - tf.reduce_mean(self.k_xtc, axis=0)  # (Eqn 21)
      lsdd = h[None, :] @ self.H_lam_inv @ h[:, None]  # (Eqn 11)
      return float(lsdd)
  
file_path: alibi-detect/alibi_detect/cd/tensorflow/lsdd_online.py
imports: from tqdm import tqdm
  import numpy
  import tensorflow
  from typing import Any, Callable, Optional, Union
  from alibi_detect.cd.base_online import BaseMultiDriftOnline
  from alibi_detect.utils.tensorflow import GaussianRBF, quantile, permed_lsdds
  from alibi_detect.utils.frameworks import Framework
label_desc: Use image node_id 8 for calling the LSDDDriftOnlineTF obj's underlying member method code with example usage: obj.score(x_t) and returns: float