From 93f46f21f0929165e49f585958c3ad0f1eab54f7 Mon Sep 17 00:00:00 2001 From: Masashi SHIBATA Date: Thu, 9 Apr 2020 12:41:44 +0900 Subject: [PATCH] Implement ValidateAlgorithmSettings for hyperopt (#1130) --- pkg/suggestion/v1alpha3/hyperopt_service.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/suggestion/v1alpha3/hyperopt_service.py b/pkg/suggestion/v1alpha3/hyperopt_service.py index 1de6c261e86..0a4cba9f856 100644 --- a/pkg/suggestion/v1alpha3/hyperopt_service.py +++ b/pkg/suggestion/v1alpha3/hyperopt_service.py @@ -39,6 +39,9 @@ def GetSuggestions(self, request, context): parameter_assignments=Assignment.generate(new_assignments) ) + def ValidateAlgorithmSettings(self, request, context): + return api_pb2.ValidateAlgorithmSettingsReply() + class OptimizerConfiguration(object): def __init__(self, random_state=None):