fix: map labels to {0, 1}
fix: deviance computation in BinomialDeviance was wrong (ignored cases where y == 0) - thanks to ChrisBeaumont for reporting this issue
raise ValueError if division through zero in LogOddsEstimator
add loss function for gradient boosting binomial deviance
pep8 and assert_equal instead of assert
correct docstring
Merge branch 'master' into gbrt-deviance-fix
use unique from sklearn backports (return_inverse)
Only reassign centers if to_reassign.sum() > 1

Sometimes to_reassign has only False values, if that's the case the function
fails. This patch makes it so no reassignment is done in that case.

The patch seems to work here, but maybe to_reassign shouldn't ever be only
False for some reason and there's a bug elsewhere. I hope a more knowledgeble
person can look this over.
TST: add a test for empty reassignment in MBKmeans
Added test for fit_transform(X)==fit(X).transform(X)
Fixed pep8 issues
BUG: highly-degenerate roc curves

Fixes 1658

Make sure that roc_curves start at [0, 0] and end at [1, 1]
BUG: fix change of behavior in last commit
DOC: add example and ref to lars_path in lasso_path
Merge branch 'master' into gbrt-deviance-fix
BUG in KernelPCA: wrong default value for gamma
Merge pull request #1688 from hrishikeshio/fit_transform

Test that fit_transform(X) does the same as fit(X).transform(X); fixes #1687
FIX doctest kernelpca
ENH speed up RBFSampler by ~10%

Applied the same to SkewedChi2Sampler, without measuring.

I was actually aiming for reduced memory usage, but unfortunately that
didn't matter much.