This is a function that is used in Strong and Weak Aggregating Algorithms to make their prediction. They mix losses of the experts using their weights, and receive the so-called generalized prediction. It is not always a real prediction, and the substitution function is needed to make it. The substitution function is such a function that for the for all . For various loss functions substitution functions are different.