Skip to content

Possible bug in kNN with mahalanobis metric #7311

Description

@markotoplak

@VesnaT, I have put the code that manipulated the learner's params into _initialize_wrapped to avoid change the learner's parameters when fitting -- the same learner might be shared by multiple threads. Is your code (from 2016, I'm sure you still remember it :) that manipulates metric_params safe for multithreading?

Originally posted by @janezd in #7309 (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