class_docstr: Base class for the tree ensemble builder class.  This should be instantiated
  either through the :py:class:`TreeEnsembleRegressor` or
  :py:class:`TreeEnsembleClassifier` classes.
class_docstr_tok: ["Base","class","for","the","tree","ensemble","builder","class",".","This","should","be","instantiated","either","through","the",":","py",":","class",":","`","TreeEnsembleRegressor","`","or",":","py",":","class",":","`","TreeEnsembleClassifier","`","classes","."]
docstr: High level Python API to build a tree ensemble model for Core ML.
docstr_tok: ["High","level","Python","API","to","build","a","tree","ensemble","model","for","Core","ML","."]
code: def __init__(self):
      """
      High level Python API to build a tree ensemble model for Core ML.
      """
      # Set inputs and outputs
      spec = _Model_pb2.Model()
      spec.specificationVersion = _SPECIFICATION_VERSION
  
      # Save the spec in the protobuf
      self.spec = spec
  
file_path: coremltools/coremltools/models/tree_ensemble.py
imports: import collections
  from ..None import SPECIFICATION_VERSION
  from ..proto import Model_pb2
  from ..proto import TreeEnsemble_pb2
  from ._interface_management import set_classifier_interface_params, set_regressor_interface_params
label_desc: Use image node_id 1 to create a new TreeEnsembleBase object  with example: obj = TreeEnsembleBase()