RuntimeError: Spectral clustering failed to converge. Ensure the input data has clear clustering structure.
Falsifying example: test_spectral_clustering_output_shape_type_and_label_count(
n_samples=1769,
n_features=16,
n_clusters=8,
n_neighbors=11,
affinity='nearest_neighbors',
dtype=dtype('<f4'),
)
Summary
Spectral clustering test failure due to convergence issue with specific parameter configuration discovered by Hypothesis property-based testing.
Failing test/component:
test_spectral_clustering.py::test_spectral_clustering_output_shape_type_and_label_countFailure observed in:
Environment
Test Details
Test file:
python/cuml/tests/test_spectral_clustering.pyTest name:
test_spectral_clustering_output_shape_type_and_label_countError message:
Traceback location:
cuml/cluster/spectral_clustering.pyx, line 253