diff --git a/fedot/core/optimisers/objective/data_source_splitter.py b/fedot/core/optimisers/objective/data_source_splitter.py index fc3e92b835..4bf22b6adc 100644 --- a/fedot/core/optimisers/objective/data_source_splitter.py +++ b/fedot/core/optimisers/objective/data_source_splitter.py @@ -34,10 +34,6 @@ def __init__(self, validation_blocks: Optional[int] = None, split_ratio: Optional[float] = None, shuffle: bool = False): - - if validation_blocks is None: - raise ValueError('validation_blocks parameter is not defined') - self.cv_folds = cv_folds self.validation_blocks = validation_blocks self.split_ratio = split_ratio