pegasos
pegasos copied to clipboard
Using `check_array` to be compatible with sklearn 0.16.1+
Due to the absence of atleast2d_or_csr
in newer scikit-learn versions, I added check_array
. Compatibility to older versions through try-except fallback to the old name with user warning.