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 @@ -172,19 +172,18 @@ def create_performance_definition(
172
172
The performance task definition schema
173
173
174
174
"""
175
- from .model_repository import ModelRepository
175
+ from .model_repository import ModelRepository as mr
176
176
177
177
if not scoring_required and "_" in table_prefix :
178
178
raise ValueError (
179
179
"Parameter 'table_prefix' cannot contain underscores."
180
- " Received a value of '%s'."
181
- ) % table_prefix
180
+ " Received a value of '%s'." % table_prefix
181
+ )
182
182
183
183
max_bins = 10 if max_bins is None else int (max_bins )
184
184
if int (max_bins ) < 2 :
185
185
raise ValueError (
186
- "Parameter 'max_bins' must be at least 2. "
187
- "Received a value of '%s'." % max_bins
186
+ "Parameter 'max_bins' must be at least 2. Received a value of '%s'." % max_bins
188
187
)
189
188
190
189
if not project and not models :
You can’t perform that action at this time.
0 commit comments