• We can examine the entropy for all the possible two-class arrangements.• If we know that the proportion of examples in one class is x, then the proportion in the other class is (1 - x).• Using the curve()function, we can then plot the entropy for all the possible values of x: