Exemplo n.º 1
0
    def _validate_stack_models(self):
        """ Validates stack_models parameter"""
        # `stack_models` defaults to "auto". If "auto" return, else check if is valid bool
        if isinstance(self.stack_models, str) and self.stack_models == "auto":
            return

        check_bool(self.stack_models, "stack_models")
Exemplo n.º 2
0
 def _validate_feature_selection(self):
     """ Validates feature_selection parameter"""
     if isinstance(self.feature_selection,
                   str) and self.feature_selection == "auto":
         return
     check_bool(self.feature_selection, "feature_selection")
Exemplo n.º 3
0
 def _validate_golden_features(self):
     """ Validates golden_features parameter"""
     if isinstance(self.golden_features,
                   str) and self.golden_features == "auto":
         return
     check_bool(self.golden_features, "golden_features")
Exemplo n.º 4
0
 def _validate_train_ensemble(self):
     """ Validates train_ensemble parameter"""
     # `train_ensemble` defaults to True, no further checking required
     check_bool(self.train_ensemble, "train_ensemble")