Exemple #1
0
 public MLData(
     ILogger <MLData> logger,
     IStackExchangeRepository repository)
 {
     this.logger     = logger;
     this.repository = repository;
     // Create a new ML context, for ML.NET operations. It can be used for exception tracking and logging,
     // as well as the source of randomness.
     this.mlContext = new MLContext();
 }
 public StackExchangeViewModelBuilder(IStackExchangeRepository stackExchangeRepository)
 {
     _stackExchangeRepository = stackExchangeRepository;
 }