add to comparing to regression algorithm.
use breeze.numerics.Inf