Make RAPTOR GMM robust on small reduced clusters (#16632)

This commit is contained in:
Mattie Schraeder
2026-07-06 08:09:35 -05:00
committed by GitHub
parent 85b565244d
commit 8a19c6aa5a
2 changed files with 7 additions and 3 deletions

View File

@@ -245,7 +245,7 @@ def test_get_optimal_clusters_evaluates_upper_bound_candidate(monkeypatch, rapto
evaluated = []
class RecordingGaussianMixture:
def __init__(self, n_components, random_state=None):
def __init__(self, n_components, random_state=None, **kwargs):
self.n_components = n_components
evaluated.append(n_components)