Skip to content

LinearSVR: Default value for epsilon is incorrectly documented #13552

Closed

Description

@Stigjb

The documentation for LinearSVR says that the default value for epsilon is 0.1, but in the code it is 0. Either update the documentation or the default value in __init__.

In LinearSVR's docstring:

epsilon : float, optional (default=0.1)

In __init__:

def __init__(self, epsilon=0.0, tol=1e-4, C=1.0,

Activity

  1. added
    good first issue
    on Apr 2, 2019
  2. jnothman commented on Apr 2, 2019

    @jnothman
    Member

    The docstring should be updated, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Documentationgood first issuehelp wanted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions