8000 SGDClassifier with class_weight=auto fails on scikit-learn 0.15 but not 0.14 · Issue #3485 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content

SGDClassifier with class_weight=auto fails on scikit-learn 0.15 but not 0.14 #3485

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
roseperrone opened this issue Jul 25, 2014 · 3 comments
Labels
Milestone

Comments

@roseperrone
Copy link

See the error and workaround here:

http://stackoverflow.com/questions/24808821/sgdclassifier-with-class-weight-auto-fails-on-scikit-learn-0-15-but-not-0-14

@amueller amueller added the Bug label Jul 26, 2014
@amueller
Copy link
Member

Could be a consequence of my refactoring :-/

@dsullivan7
Copy link
Contributor

I'm currently taking a look at SGD so I'll try to come up with something that works for this, unless someone else gets to it first

@ogrisel ogrisel added this to the 0.15.1 milestone Jul 30, 2014
@ogrisel
Copy link
Member
ogrisel commented Jul 31, 2014

This is not related to @amueller's refactoring. I found the cause and I am working on a fix.

ogrisel added a commit to ogrisel/scikit-learn that referenced this issue Jul 31, 2014
ogrisel added a commit to ogrisel/scikit-learn that referenced this issue Jul 31, 2014
ogrisel added a commit to ogrisel/scikit-learn that referenced this issue Aug 1, 2014
ogrisel added a commit to ogrisel/scikit-learn that referenced this issue Aug 1, 2014
@ogrisel ogrisel closed this as completed in 07560e4 Aug 1, 2014
eickenberg pushed a commit to eickenberg/scikit-learn that referenced this issue Aug 1, 2014
yarikoptic added a commit to yarikoptic/scikit-learn that referenced this issue Aug 5, 2014
Release 0.15.1

* tag '0.15.1': (27 commits)
  MAINT preparing the 0.15.1 release
  FIX scikit-learn#3485: class_weight='auto' on SGDClassifier
  MAINT skip 32bit-unstable test in the 0.15.X branch
  DOC whats_new.rst: missing backported fixes for 0.15.1
  FIX Support unseen labels LabelBinarizer and test
  FIX left over conflict marker from previous backport
  FIX Implemented correct handling of multilabel y in cross_val_score
  MAINT fix prng in test_f_oneway_ints
  FIX 0.15.X-style fix to make the NotAnArray test pass
  ENH: enable y to only implement the array interface
  MAINT add docstring to explain the motivation of the fixture
  MAINT skip tests that require large datadownload under travis
  TST: Fix warnings in np 1.9
  FIX unstable test on 32 bit windows
  MAINT More robust windows installation script
  FIX better RandomizedPCA sparse deprecation
  Closes scikit-learn#2360. Fix tiebreaking.
  BUG: Support array interface
  TST non-regression test for CV on text pipelines
  ENH rename parameters in MockListClassifiers.
  ...
yarikoptic added a commit to yarikoptic/scikit-learn that referenced this issue Aug 5, 2014
* releases: (27 commits)
  MAINT preparing the 0.15.1 release
  FIX scikit-learn#3485: class_weight='auto' on SGDClassifier
  MAINT skip 32bit-unstable test in the 0.15.X branch
  DOC whats_new.rst: missing backported fixes for 0.15.1
  FIX Su
71AC
pport unseen labels LabelBinarizer and test
  FIX left over conflict marker from previous backport
  FIX Implemented correct handling of multilabel y in cross_val_score
  MAINT fix prng in test_f_oneway_ints
  FIX 0.15.X-style fix to make the NotAnArray test pass
  ENH: enable y to only implement the array interface
  MAINT add docstring to explain the motivation of the fixture
  MAINT skip tests that require large datadownload under travis
  TST: Fix warnings in np 1.9
  FIX unstable test on 32 bit windows
  MAINT More robust windows installation script
  FIX better RandomizedPCA sparse deprecation
  Closes scikit-learn#2360. Fix tiebreaking.
  BUG: Support array interface
  TST non-regression test for CV on text pipelines
  ENH rename parameters in MockListClassifiers.
  ...
yarikoptic added a commit to yarikoptic/scikit-learn that referenced this issue Aug 5, 2014
* dfsg: (27 commits)
  MAINT preparing the 0.15.1 release
  FIX scikit-learn#3485: class_weight='auto' on SGDClassifier
  MAINT skip 32bit-unstable test in the 0.15.X branch
  DOC whats_new.rst: missing backported fixes for 0.15.1
  FIX Support unseen labels LabelBinarizer and test
  FIX left over conflict marker from previous backport
  FIX Implemented correct handling of multilabel y in cross_val_score
  MAINT fix prng in test_f_oneway_ints
  FIX 0.15.X-style fix to make the NotAnArray test pass
  ENH: enable y to only implement the array interface
  MAINT add docstring to explain the motivation of the fixture
  MAINT skip tests that require large datadownload under travis
  TST: Fix warnings in np 1.9
  FIX unstable test on 32 bit windows
  MAINT More robust windows installation script
  FIX better RandomizedPCA sparse deprecation
  Closes scikit-learn#2360. Fix tiebreaking.
  BUG: Support array interface
  TST non-regression test for CV on text pipelines
  ENH rename parameters in MockListClassifiers.
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants
0