class_docstr: Class to be used to supply the data stats info when discretize_continuous is true
class_docstr_tok: ["Class","to","be","used","to","supply","the","data","stats","info","when","discretize_continuous","is","true"]
code: def __init__(
      self,
      data,
      categorical_features,
      feature_names,
      labels=None,
      random_state=None,
      data_stats=None,
  ):
      BaseDiscretizer.__init__(
          self,
          data,
          categorical_features,
          feature_names,
          labels=labels,
          random_state=random_state,
          data_stats=data_stats,
      )
  
imports: import numpy
  import sklearn
  import sklearn.tree
  import scipy
  from sklearn.utils import check_random_state
  from abc import ABCMeta, abstractmethod
label_desc: Use image node_id 1 to create a new StatsDiscretizer object from inherited base classes: BaseDiscretizer with example: obj = StatsDiscretizer(data, categorical_features, feature_names, labels, random_state, data_stats)