Now capable of treating sample_weights in feature space
Added test for correctness of ridge regression with sample weights in feature space as well as test for correct branching decision in ridge_regression function
Failing test for 'raise value error if sample_weights is not a 0 or 1D array'
Sample weights of dimension > 1 now raises ValueError
pep 8 and 257
Failing test for tall sparse design matrix and sample weights
Ridge now works with tall, sparse matrices and sample weights
Sample weight now defaults to None, with all tests passing
Updated doc in ridge_regression
Removed branching test that caused a MemoryError when failing
Changed auto solver selection to default to dense_cholesky when sample weights are given, even if input is sparse
Changed dense_cholesky --> cholesky. Raised DeprecationWarnings in constructor of _BaseRidge and in ridge_regression. Tested deprecation warnings
check hasattr('__array__') to check not issparse
Testing sparse and dense on the same matrix
assert_array_equal to assert_array_almost_equal
what's new
Added test for correctness of ridge regression with sample weights in feature space as well as test for correct branching decision in ridge_regression function
Failing test for 'raise value error if sample_weights is not a 0 or 1D array'
Failing test for tall sparse design matrix and sample weights
Changed dense_cholesky --> cholesky. Raised DeprecationWarnings in constructor of _BaseRidge and in ridge_regression. Tested deprecation warnings