Skip to content
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

Problem with SVM widget (degree must be int but only allows float) #6892

Closed
TonciG opened this issue Sep 17, 2024 · 5 comments
Closed

Problem with SVM widget (degree must be int but only allows float) #6892

TonciG opened this issue Sep 17, 2024 · 5 comments
Labels
bug report Bug is reported by user, not yet confirmed by the core team

Comments

@TonciG
Copy link

TonciG commented Sep 17, 2024

What's wrong?

Got this error when try to use SVM widget:
Fitting failed.
The 'degree' parameter of SVC must be an int in the range [0, inf). Got 3.0 instead.

Untitled

The problem is that degree (d) hyperparameter of this widget only allows for float values yet the error message clearly says that this ought to be integer.

How can we reproduce the problem?

What's your environment?

  • Operating system:
  • Orange version:
  • How you installed Orange:
@TonciG TonciG added the bug report Bug is reported by user, not yet confirmed by the core team label Sep 17, 2024
@janezd
Copy link
Contributor

janezd commented Sep 17, 2024

Thanks for reporting this.

This bug, which became evident with the new version of Scikit-learn, was first reported in #6853 (and later in #6868), and is fixed in #6866.

A temporary workaround is described in #6853 (comment).

@janezd janezd closed this as completed Sep 17, 2024
@TonciG
Copy link
Author

TonciG commented Sep 18, 2024

Thanks for your response Janez.

When are you planning the release of new Orange version with this bug fixed?

Thanks,
Tonci

@janezd
Copy link
Contributor

janezd commented Sep 20, 2024

When are you planning the release of new Orange version with this bug fixed?

We do not have a regular schedule, so I cannot say. :( There is a big change on the horizon, but I don't know when we'll decide to push it.

@markotoplak
Copy link
Member

@TonciG, finally released. Sorry for the wait.

@TonciG
Copy link
Author

TonciG commented Nov 21, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report Bug is reported by user, not yet confirmed by the core team
Projects
None yet
Development

No branches or pull requests

3 participants