class_docstr: Base class for Aggregated Mondrian Forest classifier and regressors for online learning.
  
  Parameters
  ----------
  n_estimators
      The number of trees in the forest.
  step
       Step-size for the aggregation weights.
  loss
      The loss used for the computation of the aggregation weights.
  use_aggregation
      Controls if aggregation is used in the trees. It is highly recommended to
      leave it as `True`.
  split_pure
      Controls if nodes that contains only sample of the same class should be
      split ("pure" nodes). Default is `False`, namely pure nodes are not split,
      but `True` can be sometimes better.
  seed
      Random seed for reproducibility.
  
  Note
  ----
  This class is not intended for end users but for development only.
class_docstr_tok: ["Base","class","for","Aggregated","Mondrian","Forest","classifier","and","regressors","for","online","learning",".","Parameters","--","--","--","--","--","n_estimators","The","number","of","trees","in","the","forest",".","step","Step-size","for","the","aggregation","weights",".","loss","The","loss","used","for","the","computation","of","the","aggregation","weights",".","use_aggregation","Controls","if","aggregation","is","used","in","the","trees",".","It","is","highly","recommended","to","leave","it","as","`","True","`",".","split_pure","Controls","if","nodes","that","contains","only","sample","of","the","same","class","should","be","split","(","``","pure","''","nodes",")",".","Default","is","`","False","`",",","namely","pure","nodes","are","not","split",",","but","`","True","`","can","be","sometimes","better",".","seed","Random","seed","for","reproducibility",".","Note","--","--","This","class","is","not","intended","for","end","users","but","for","development","only","."]
docstr: Initialize the forest members.
docstr_tok: ["Initialize","the","forest","members","."]
code: def _initialize_trees(self):
      """Initialize the forest members."""
  
imports: from __future__ import annotations
  import abc
  import random
  from river import base
  from river.tree.mondrian import MondrianTreeClassifier, MondrianTreeRegressor
label_desc: Use image node_id 3 for calling the AMFLearner obj's underlying member method code with example usage: obj._initialize_trees() without return types