Skip to content

Commit

Permalink
chang max-min parameters for sits_uncertainity_sampling
Browse files Browse the repository at this point in the history
  • Loading branch information
gilbertocamara committed Oct 24, 2024
1 parent 5e6336e commit 4030b8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/sits_active_learning.R
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 4030b8d

Please sign in to comment.