Beispiel #1
0
 public LearningServices(IOptions <Settings> settings, IWebHostEnvironment hostingEnvironment)
 {
     _learningContext    = new LearningContext(settings);
     _hostingEnvironment = hostingEnvironment;
 }
Beispiel #2
0
 public TopicRepository(LearningContext context) : base(context)
 {
 }
Beispiel #3
0
 public IndividualRepository(LearningContext context) : base(context)
 {
 }
 public LearningRepository(LearningContext context)
 {
     _context = context;
 }
Beispiel #5
0
 public StudentRepository(LearningContext ctx)
 {
     _ctx = ctx;
 }
Beispiel #6
0
 public StudentController(LearningContext context)
 {
     _context = context;
 }
Beispiel #7
0
 public InSQLSchoolDatabase(LearningContext context, IMapper mapper)
 {
     _context = context;
     _mapper  = mapper;
 }
Beispiel #8
0
 public LearningRepository(LearningContext ctx)
 {
     _ctx = ctx;
 }
 public LearningRepository(LearningContext context, ILogger<LearningRepository> logger)
 {
     _context = context;
     _logger = logger;
 }
Beispiel #10
0
 public UserRepository(LearningContext ctx) : base(ctx)
 {
 }
 public LearningContextSeedData(LearningContext context, UserManager<User> userManager)
 {
     _context = context;
     _userManager = userManager;
 }
Beispiel #12
0
 public AccountController(LearningContext context)
 {
     _context = context;
 }
Beispiel #13
0
 public LearningPractisesController(LearningContext context)
 {
     _context = context;
 }
Beispiel #14
0
 public LearningRepository(LearningContext _ctx)
 {
     context = _ctx;
 }
 public StatisticsService(LearningContext db, IMapper mapper)
 {
     this.db     = db;
     this.mapper = mapper;
 }
 public StudentRepository(LearningContext ctx) : base(ctx)
 {
 }
 public LanguagesService(LearningContext context, IMapper mapper)
 {
     this.db     = context;
     this.mapper = mapper;
 }
Beispiel #18
0
 public BaseRepository(LearningContext ctx)
 {
     _ctx       = ctx;
     this.dbSet = _ctx.Set <T>();
 }
Beispiel #19
0
 public LearningRessourcesController(LearningContext context, IHostingEnvironment env)
 {
     _context = context;
     _env     = env;
 }
Beispiel #20
0
 public DecksService(LearningContext db, IMapper mapper, IUsersService usersService)
 {
     this.db           = db;
     this.mapper       = mapper;
     this.usersService = usersService;
 }
Beispiel #21
0
 public LearningDataSeeder(LearningContext ctx)
 {
     _ctx = ctx;
 }
Beispiel #22
0
        /// <summary>
        /// Creates a graph training engine
        /// </summary>
        /// <param name="dataSource">Data source with training data</param>
        /// <param name="learningRate">Initial learning rate</param>
        /// <param name="batchSize">Mini batch size</param>
        /// <param name="trainingErrorCalculation">How to calculate the training error</param>
        /// <returns></returns>
        public IGraphTrainingEngine CreateTrainingEngine(IDataSource dataSource, float learningRate = 0.1f, int batchSize = 128, TrainingErrorCalculation trainingErrorCalculation = TrainingErrorCalculation.Fast)
        {
            var learningContext = new LearningContext(_lap, learningRate, batchSize, trainingErrorCalculation, dataSource.IsSequential);

            return(new TrainingEngine(_lap, dataSource, learningContext, null));
        }
 public LearningRepository(LearningContext context)
 {
     _context = context;
 }
 public ProductsController(LearningContext context)
 {
     _context = context;
 }
Beispiel #25
0
 public EvaluationRepository(LearningContext context) : base(context)
 {
 }
 public Test1Service(LearningContext context)
 {
     this.context = context;
 }
Beispiel #27
0
 public PlaneacionRepository(LearningContext context) : base(context)
 {
 }
 public TokenController(IConfiguration configuration, LearningContext dbContext)
 {
     _configuration = configuration;
     _dbContext     = dbContext;
 }
Beispiel #29
0
 public AssignedCourseRepository(LearningContext context) : base(context)
 {
 }
 public EmployeeRepository(LearningContext learningContext)
 {
     _learningContext = learningContext;
 }