changing private _fit to public partial_fit
adding test to rbm
changing partial fit to be seperate from _fit
changing test
saving the random state
making adjustments to variable names and account for sparse matrices
changing xrange to range
changing formatting of documentation
Merge remote-tracking branch 'upstream/master' into rbmbranch
STY Simplify and avoided numpy warnings in imputation
FIX #2924: make lobpcg test pass with reference and ATLAS impl of LAPACK
ENH/TST remove unnecessary sorts and complete testing for sparse median
More stable test problem for eigen_solver='lobpcg'
COSMIT Remove unnecessary assertion
BUG: avoid NaNs throwing off class probabilities

In the case where neigh_dist includes at least one zero and self.weights is 'distance',
some values of `weights` may be infinite.
This is ok, except for when normalizing `proba_k`, when it creates NaN values.
fixing warning ignore type
adding test case
DOC: fixed docstring formatting
Added reference to function
Merge pull request #2928 from ogrisel/fix-linalgerror

[MRG] make lobpcg test pass with reference and ATLAS impl of LAPACK