R comments on The Weighted Majority Algorithm