From 4030b8d119730dfb21d4b52ed569121722cf6c16 Mon Sep 17 00:00:00 2001 From: Gilberto Camara Date: Thu, 24 Oct 2024 11:27:27 -0300 Subject: [PATCH] chang max-min parameters for sits_uncertainity_sampling --- R/sits_active_learning.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/R/sits_active_learning.R b/R/sits_active_learning.R index b5b85d0f..23b72b0c 100644 --- a/R/sits_active_learning.R +++ b/R/sits_active_learning.R @@ -84,8 +84,8 @@ sits_uncertainty_sampling <- function(uncert_cube, .check_set_caller("sits_uncertainty_sampling") # Pre-conditions .check_is_uncert_cube(uncert_cube) - .check_int_parameter(n, min = 1, max = 10000) - .check_num_parameter(min_uncert, min = 0.2, max = 1.0) + .check_int_parameter(n, min = 1) + .check_num_parameter(min_uncert, min = 0.0, max = 1.0) .check_int_parameter(sampling_window, min = 10L) .check_int_parameter(multicores, min = 1, max = 2048) .check_int_parameter(memsize, min = 1, max = 16384)