Skip to content
This repository was archived by the owner on Nov 13, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions modules/cluster_estimation/cluster_estimation.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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:
Expand Down
Loading