generate_boosted_machine() -> strong

    Creates a single strong classifier from this cascade by concatenating all strong classifiers.

    **Returns:**

    ``strong`` : :py:class:`bob.learn.boosting.BoostedMachine`
      The strong classifier as a combination of all classifiers in this cascade.

def generate_boosted_machine(self):
    """generate_boosted_machine() -> strong

    Creates a single strong classifier from this cascade by concatenating all strong classifiers.

    **Returns:**

    ``strong`` : :py:class:`bob.learn.boosting.BoostedMachine`
      The strong classifier as a combination of all classifiers in this cascade.
    """
    strong = bob.learn.boosting.BoostedMachine()
    for machine, index in zip(self.cascade, self.indices):
      weak = machine.weak_machines
      weights = machine.weights
      for i in range(len(weak)):
        strong.add_weak_machine(weak[i], weights[i])

    return strong