diff --git a/modules/cluster_estimation/cluster_estimation.py b/modules/cluster_estimation/cluster_estimation.py index 2169db1a..10c7bb91 100644 --- a/modules/cluster_estimation/cluster_estimation.py +++ b/modules/cluster_estimation/cluster_estimation.py @@ -69,7 +69,7 @@ def create( PARAMETERS: min_activation_threshold: int - Minimum total data points before model runs. Must be at least 1. + Minimum total data points before model runs. Must be at least max_num_components. min_new_points_to_run: int Minimum number of new data points that must be collected before running model. Must be at least 0. @@ -85,7 +85,7 @@ def create( RETURNS: The ClusterEstimation object if all conditions pass, otherwise False, None """ - if min_activation_threshold < 1: + if min_activation_threshold < max_num_components: return False, None if min_new_points_to_run < 0: