public SdcaMaximumEntropyTrainer( IPTurnDataFilesStorage pTurnDataFilesStorage, IMLModelFilesStorage modelFilesStorage, IOptions <ProcessedDataFileStructure> pDataFileStructure) : base(pTurnDataFilesStorage, modelFilesStorage, pDataFileStructure) { }
public MetricsDataStorage( ITextFilesStorage textFilesStorage, IMLModelFilesStorage mLModelFilesStorage) { TextFilesStorage = textFilesStorage ?? throw new ArgumentNullException(); ModelFilesStorage = mLModelFilesStorage ?? throw new ArgumentNullException(); }
public MLCardSelector( IMLModelFilesStorage modelFilesStorage, IOptions <CardSelectorOptions> options) { ModelFilesStorage = modelFilesStorage ?? throw new ArgumentNullException(); Options = options.Value ?? throw new ArgumentNullException(); PredictionEngine = LoadPredictionEngine() ?? throw new InvalidOperationException(); }
public TrainerBase( IPTurnDataFilesStorage pTurnDataFilesStorage, IMLModelFilesStorage mLModelFilesStorage, IOptions <ProcessedDataFileStructure> pDataFileStructure) { PTurnDataFilesStorage = pTurnDataFilesStorage ?? throw new ArgumentNullException(); ModelFilesStorage = mLModelFilesStorage ?? throw new ArgumentNullException(); PDataFileStructure = pDataFileStructure.Value ?? throw new ArgumentNullException(); MLContext = new MLContext(); TokenSource = new CancellationTokenSource(); }
public ModelFilesStorageController(IMLModelFilesStorage modelFilesStorage) { ModelFilesStorage = modelFilesStorage ?? throw new ArgumentNullException(); }