add cross validation into training as metric