class_docstr: A classifier.
class_docstr_tok: ["A","classifier","."]
docstr: Update the model with a set of features `x` and a label `y`.
  
  Parameters
  ----------
  x
      A dictionary of features.
  y
      A label.
docstr_tok: ["Update","the","model","with","a","set","of","features","`","x","`","and","a","label","`","y","`",".","Parameters","--","--","--","--","--","x","A","dictionary","of","features",".","y","A","label","."]
code: def learn_one(self, x: dict, y: base.typing.ClfTarget) -> Classifier:
      """Update the model with a set of features `x` and a label `y`.
  
      Parameters
      ----------
      x
          A dictionary of features.
      y
          A label.
  
      """
  
file_path: river/river/base/classifier.py
imports: from __future__ import annotations
  import abc
  import typing
  from river import base
  from .None import estimator
label_desc: Use image node_id 1 for calling the Classifier obj's underlying member method code with example usage: obj.learn_one(x, y) without return types