We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3fd3aee commit f51843eCopy full SHA for f51843e
sklearn_extra/robust/_robust_weighted_estimator_helper.pyx
@@ -70,7 +70,7 @@ cpdef np.ndarray[floating] _kmeans_loss(np.ndarray[floating, ndim=2, mode='c'] X
70
np.ndarray[floating, ndim=2] centers = np.zeros([n_classes,
71
n_features],
72
dtype = dtype)
73
- np.ndarray[int64_t] num_in_cluster = np.zeros(n_classes, dtype = int32_t)
+ np.ndarray[int64_t] num_in_cluster = np.zeros(n_classes, dtype = int)
74
np.ndarray[floating] inertias = np.zeros(n_samples, dtype = dtype)
75
for i in range(n_samples):
76
for j in range(n_features):
0 commit comments