private MLModelConfig GetModelConfig(Guid modelId)
        {
            MLModelConfig model = _modelLoader.LoadModelForTraining(UserConnection, modelId);

            if (model == null)
            {
                throw new ItemNotFoundException($"Model not found by id {modelId}");
            }
            return(model);
        }