We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 45b63ab commit a9e4742Copy full SHA for a9e4742
1 file changed
dataikuapi/dss/ml.py
@@ -821,6 +821,11 @@ def enabled(self, enabled):
821
def strategy(self):
822
return self._hyperparameter_search_params["strategy"]
823
824
+ @strategy.setter
825
+ def strategy(self, _):
826
+ raise AttributeError("The strategy must be set at the MLTask level.\n"
827
+ "To update the search strategy, please use the setter of the HyperparameterSearchSettings "
828
+ "object obtained with DSSPredictionMLTaskSettings.get_hyperparameter_search_settings method")
829
830
class RandomForestSettings(PredictionAlgorithmSettings):
831
0 commit comments