From db1cf12098a533cedadf2ffa5df9699fe99ea7a8 Mon Sep 17 00:00:00 2001 From: Ramana Raja <83065061+Ramana-Raja@users.noreply.github.com> Date: Wed, 27 Nov 2024 20:08:22 +0530 Subject: [PATCH] Update test_r_cluster.py --- aeon/clustering/tests/test_r_cluster.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aeon/clustering/tests/test_r_cluster.py b/aeon/clustering/tests/test_r_cluster.py index 4b1f0e73ab..69aaa8e614 100644 --- a/aeon/clustering/tests/test_r_cluster.py +++ b/aeon/clustering/tests/test_r_cluster.py @@ -26,8 +26,8 @@ def test_r_cluster(): X_test, y_test = load_basic_motions(split="test") r_cluster = RCluster(n_clusters=2) - r_cluster.fit(X_train[0:max_train]) - test_shape_result = r_cluster.predict(X_test[0:max_train]) + r_cluster._fit(X_train[0:max_train]) + test_shape_result = r_cluster._predict(X_test[0:max_train]) assert np.array_equal(test_shape_result, expected_results) assert r_cluster.n_iter_ == expected_iters