The defaults

Report a typo

Suppose you instantiated a k-means model in scikit-learn without passing any arguments, like here:

from sklearn.cluster import KMeans
kmeans = KMeans()

What are the default values for n_clusters, random_state, algorithm?

Tip: Please refer to the scikit-learn documentation to learn about the parameter default values.

Select one option from the list
___

Create a free account to access the full topic