File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -169,19 +169,18 @@ def create_performance_definition(
169
169
The performance task definition schema
170
170
171
171
"""
172
- from .model_repository import ModelRepository
172
+ from .model_repository import ModelRepository as mr
173
173
174
174
if not scoring_required and "_" in table_prefix :
175
175
raise ValueError (
176
176
"Parameter 'table_prefix' cannot contain underscores."
177
- " Received a value of '%s'."
178
- ) % table_prefix
177
+ " Received a value of '%s'." % table_prefix
178
+ )
179
179
180
180
max_bins = 10 if max_bins is None else int (max_bins )
181
181
if int (max_bins ) < 2 :
182
182
raise ValueError (
183
- "Parameter 'max_bins' must be at least 2. "
184
- "Received a value of '%s'." % max_bins
183
+ "Parameter 'max_bins' must be at least 2. Received a value of '%s'." % max_bins
185
184
)
186
185
187
186
if not project and not models :
You can’t perform that action at this time.
0 commit comments