remove computeStat in MLUtils