An adaptive version of the boost by majority algorithm | Synapse