Skip to content

MNT: Implement TODO(1.9) - change default n_init to 1 in MDS and smacof #33598

Closed

Description

@Julian901

Hello!

The _mds.py file contained TODO(1.9) comments planned in PR #31117 to change the default value of n_init to 1 in both smacof function and MDS class. Since sklearn is now at 1.9.dev0, these changes are due.

This issue tracks the implementation of those planned changes:

  • Remove "warn" sentinel from n_init validation
  • Change default n_init to 1 in smacof and MDS
  • Remove FutureWarning blocks
  • Update docstrings
  • Remove obsolete tests for the n_init FutureWarning

PR: #33595

Activity

  1. added
    Needs Triage
    on Mar 22, 2026
  2. Dlove123 commented on Mar 22, 2026

    @Dlove123
  3. Julian901 commented on Mar 23, 2026

    @Julian901
    Author
  4. betatim commented on Mar 23, 2026

    @betatim
    Member

    Thanks for opening the issue and the PR. As a general rule of thumb we prefer if people open an issue first to discuss changes and only create a PR if there is consensus on what to do.

    For a task like this (addressing deprecations) it is fine to open a PR directly, no need to create an issue at the same time.

  5. removed
    Needs Triage
    on Mar 23, 2026
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions