diff --git a/src/cluster/kmeans.rs b/src/cluster/kmeans.rs index 144f8c5..18f8308 100644 --- a/src/cluster/kmeans.rs +++ b/src/cluster/kmeans.rs @@ -469,9 +469,8 @@ mod tests { all(target_arch = "wasm32", not(target_os = "wasi")), wasm_bindgen_test::wasm_bindgen_test )] - #[cfg(feature = "datasets")] #[test] - fn fit_predict_iris() { + fn fit_predict() { let x = DenseMatrix::from_2d_array(&[ &[5.1, 3.5, 1.4, 0.2], &[4.9, 3.0, 1.4, 0.2], diff --git a/src/ensemble/random_forest_classifier.rs b/src/ensemble/random_forest_classifier.rs index ca06e2f..8ea174b 100644 --- a/src/ensemble/random_forest_classifier.rs +++ b/src/ensemble/random_forest_classifier.rs @@ -634,8 +634,7 @@ mod tests { wasm_bindgen_test::wasm_bindgen_test )] #[test] - #[cfg(feature = "datasets")] - fn fit_predict_iris() { + fn fit_predict() { let x = DenseMatrix::from_2d_array(&[ &[5.1, 3.5, 1.4, 0.2], &[4.9, 3.0, 1.4, 0.2],