Comparisons with matlab and sklearn