Skip to content

n_jobs deprecated in sklearn Kmeans #11

@Aneoshun

Description

@Aneoshun

Hi,

Running the cvt_rastrigin example (but I guess that's valid for any example) raises:
TypeError: KMeans.__init__() got an unexpected keyword argument 'n_jobs'

Removing this argument here solves it: https://github.com/resibots/pymap_elites/blob/master/map_elites/common.py#L194

However, I cannot find in the doc what this argument what used for, so I leave this to you @jbmouret to decide if it is safe to remove it.

Best,

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