/// <summary> /// Constructor for ML /// </summary> /// <param name="experimentResultManager"></param> /// <param name="modelManager"></param> /// <param name="modelCategoryManager"></param> /// <param name="lblManager"></param> /// <param name="sampleMgr"></param> /// <param name="trainingDataSetMgr"></param> /// <param name="userManager"></param> /// <param name="logger"></param> public MachineLearningClientAPI(IExperimentResultManager experimentResultManager, IModelManager modelManager, IModelCategoryManager modelCategoryManager, ILabelManager lblManager, ISampleManager sampleMgr, ITrainingDataSetManager trainingDataSetMgr, UserManager <AppUser> userManager, IAdminLogger logger) : base(userManager, logger) { this._experimentResultManager = experimentResultManager ?? throw new ArgumentNullException(nameof(experimentResultManager)); this._modelManager = modelManager ?? throw new ArgumentNullException(nameof(modelManager)); this._modelCategoryManager = modelCategoryManager ?? throw new ArgumentNullException(nameof(modelCategoryManager)); this._lblManager = lblManager ?? throw new ArgumentNullException(nameof(lblManager)); this._sampleManager = sampleMgr ?? throw new ArgumentNullException(nameof(sampleMgr)); this._trainingDataSetMgr = trainingDataSetMgr ?? throw new ArgumentNullException(nameof(trainingDataSetMgr)); }
public TrainingDataController(ITrainingDataSetManager mgr, UserManager <AppUser> userManager, IAdminLogger logger) : base(userManager, logger) { _mgr = mgr; }