Add gradient calculation in _huber_loss_and_gradient
Add tests to check the correctness of the loss and gradient
Fix for old scipy
Add parameter sigma for robust linear regression
Add gradient formula to robust _huber_loss_and_gradient
Add fit_intercept option and fix tests
Add docs to HuberRegressor and the helper functions
Add example demonstrating ridge_regression vs huber_regression
Add sample_weight implementation
Add scaling invariant huber test
Remove exp and add bounds to fmin_l_bfgs_b
Add sparse data support
Add more tests and refactoring of code
Add narrative docs
review huber regressor
Minor additions to docs and tests
Minor fixes that deals with dealing with NaN values in targets
and old verions of SciPy and NumPy
Add HuberRegressor to robust estimator
Refactored computation of gradient and make docs render properly
Temp
Remove float64 dtype conversion
trivial optimizations and add a note about R
Remove sample_weights special_casing
address @amueller comments
in other modules where warnings are deprecated.
Prefix warnings imported from sklearn.exceptions instead of
suffixing to prevent showing both the suffixed warning
and the deprecated warning during tab completion.
ENH NonBLASDotWarning -> EfficiencyWarning; Improve error message
DOC Add exceptions module to modules/classes.rst
MAINT Move ConvergenceWarning, UndefinedMetricWarning et al into exceptions
MAINT Remove ChangedBehaviorWarning from base
DOC/FIX Improve DataConversionWarning's docstring
Passing 1D arrays to check_array, without setting `ensure_2d` to false now
raises a deprecation warning before reshaping it. This will later throw an
error.
All Scaler classes also throw warnings when 1D arrays are passed.
All unit tests/doctests are modified to ensure that no 1D arrays are passed,
except in explicit 1D array tests where the warnings have been silenced.
Additional tests are also included which check for different 1D array cases.
2D array tests with one samples and one features are also added and where
they failed, `check_array` call has been modified to give a more useful error
message
ENH improve check_array to warn on dtype conversions
ENH make check_array accept several dtypes
ENH change validation with improved check_array
ENH change astype to avoid copy if possible
ENH remove warn_if_not_float
DOC max_iterations -> max_iter. Make it consistent with kmeans
MAINT Replace the deprecated dx parameter with d in the docstrings
MAINT Deprecation warning for max_iterations parameter.
- Typo fixed in linear_model documenation
- Usage of matplotlib.pyplot instead of matplotlib.pylab
- Removed trailing backslash in import statements
- Renamed _modweiszfeld_step to _modified_weiszfeld_step
- Renamed variable fst to first_elem in _lstq
- Made get_n_jobs private in utils/__init__.py