extractMetric.train function

Extract accuracy metrics from a train model