assert_almost_equal(cw.sum(), classes.shape)