BaseBagging class implemented