Skip to content

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

@TonciG

Description

@TonciG

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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug reportBug is reported by user, not yet confirmed by the core team

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions