finished MLData (aka ml::TrainData) refactoring