code: def load(self, hdf5):
      
      # write the cascade to file
      self.thresholds = hdf5.read("Thresholds")
      self.cascade = []
      for i in range(len(self.thresholds)):
        hdf5.cd("Classifier_%d" % (i+1))
        self.cascade.append(bob.learn.boosting.BoostedMachine(hdf5))
        hdf5.cd("..")
      hdf5.cd("FeatureExtractor")
      self.extractor = FeatureExtractor(hdf5)
      hdf5.cd("..")
      self._indices()
docs: Loads this cascade from the given HDF5 file.
  
      **Parameters:**
  
      ``hdf5`` : :py:class:`bob.io.base.HDF5File`
        An HDF5 file open for reading