Skip to content

Conversation

@FarahSaeed
Copy link
Contributor

@FarahSaeed FarahSaeed commented Dec 2, 2017

Reference Issues/PRs

Reference Issue: #10158

Hi.. Regarding issue #10158, one requirement is related to catching deprecation warnings of random_state in SVC tests.
I've found the following test where the relevant deprecation warnings are raising.

def test_sparse_oneclasssvm():

In this PR, the above test is edited to remove 'random_state = 0' while initializing OneClassSVM. Also \examples and \doc are checked to have no use of random_state with OneClassSVM.

Removing 'random_state = 0' while intializing OneClassSVM.
@FarahSaeed FarahSaeed changed the title Removing 'random_state = 0' while intializing OneClassSVM [WIP] Removing 'random_state = 0' while intializing OneClassSVM Dec 2, 2017
Few changes for fixing pep8 errors.
@FarahSaeed FarahSaeed changed the title [WIP] Removing 'random_state = 0' while intializing OneClassSVM [MRG] Removing 'random_state = 0' while intializing OneClassSVM Dec 2, 2017
@albertcthomas
Copy link
Contributor

LGTM

@jnothman
Copy link
Member

jnothman commented Dec 4, 2017

Thanks @FarahSaeed

@jnothman jnothman merged commit 90adab9 into scikit-learn:master Dec 4, 2017
@FarahSaeed FarahSaeed deleted the feature branch December 4, 2017 04:07
jwjohnson314 pushed a commit to jwjohnson314/scikit-learn that referenced this pull request Dec 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants