(model)
| 1363 | assert compare_with_limited_precision(getattr(model1, attr), getattr(model2, attr)) |
| 1364 | |
| 1365 | def check_load_from_stream(model): |
| 1366 | cb_stream = CatBoost() |
| 1367 | with open(output_model_path, 'rb') as stream: |
| 1368 | cb_stream.load_model(stream=stream) |
| 1369 | check_equality(model, cb_stream) |
| 1370 | |
| 1371 | def check_load_from_string(model): |
| 1372 | cb_blob = CatBoost() |
no test coverage detected