cbr learning1d finished, not tested.