code: def _create_model(model, ident, **params):
      
      with log_errors(pdb=True):
          model = clone(model).set_params(**params)
          return model, {"model_id": ident, "params": params, "partial_fit_calls": 0}
docs: Create a model by cloning and then setting params