amna shahbaz
amna shahbaz

Reputation: 1

n_jobs got an unexpected keyword argument

I have a parameter in k-Means clustering. how do i resolve this error to solve the problem in clustering? I tried all methods but cant find the solution.

enter image description here

Upvotes: 0

Views: 513

Answers (1)

amol goel
amol goel

Reputation: 149

There is no argument such as njobs in Kmeans.

If you want to decrease processing time, try

  • initialization of clusters . USE INIT as kmeans++
  • reduce threshold for convergence in tol

Read more about sklearn kmeans https://scikit-learn.org/stable/modules/generated/sklearn.cluster.KMeans.html

Upvotes: 0

Related Questions