 Assume that the problem is a binary decision problem.To construct the compound algorithm, a positive weight is given to each of the algorithms in the pool.The compound algorithm then collects weighted votes from all the algorithms in the pool, and gives the prediction that has a higher vote.