class_docstr: A supervised anomaly detector.
class_docstr_tok: ["A","supervised","anomaly","detector","."]
docstr: Update the model.
  
  Parameters
  ----------
  x
      A dictionary of features.
docstr_tok: ["Update","the","model",".","Parameters","--","--","--","--","--","x","A","dictionary","of","features","."]
code: def learn_one(self, x: dict, y: base.typing.Target):
      """Update the model.
  
      Parameters
      ----------
      x
          A dictionary of features.
  
      """
  
file_path: river/river/anomaly/base.py
imports: from __future__ import annotations
  import abc
  from river import base
label_desc: Use image node_id 1 for calling the SupervisedAnomalyDetector obj's underlying member method code with example usage: obj.learn_one(x, y) without return types