class_docstr: Wrapper around sklearn greedy tree classifier
      
class_docstr_tok: ["Wrapper","around","sklearn","greedy","tree","classifier"]
code: def __str__(self):
      s = "> ------------------------------\n"
      s += "> Greedy CART Tree:\n"
      s += "> \tPrediction is made by looking at the value in the appropriate leaf of the tree\n"
      s += "> ------------------------------" + "\n"
      if (
          hasattr(self, "feature_names")
          and self.feature_names is not None
      ):
          return s + export_text(
              self, feature_names=self.feature_names, show_weights=True
          )
      else:
          return s + export_text(self, show_weights=True)
  
file_path: imodels/imodels/tree/cart_wrapper.py
imports: from sklearn.tree import DecisionTreeClassifier, export_text, DecisionTreeRegressor
  from imodels.util.arguments import check_fit_arguments
  from imodels.util.tree import compute_tree_complexity
label_desc: Use image node_id 3 for calling the GreedyTreeClassifier obj's underlying member method code with example usage: obj.__str__() and returns: unknown, unknown