Exemplo n.º 1
0
 public LearningServices(IOptions <Settings> settings, IWebHostEnvironment hostingEnvironment)
 {
     _learningContext    = new LearningContext(settings);
     _hostingEnvironment = hostingEnvironment;
 }
Exemplo n.º 2
0
 public TopicRepository(LearningContext context) : base(context)
 {
 }
Exemplo n.º 3
0
 public IndividualRepository(LearningContext context) : base(context)
 {
 }
Exemplo n.º 4
0
 public LearningRepository(LearningContext context)
 {
     _context = context;
 }
Exemplo n.º 5
0
 public StudentRepository(LearningContext ctx)
 {
     _ctx = ctx;
 }
Exemplo n.º 6
0
 public StudentController(LearningContext context)
 {
     _context = context;
 }
Exemplo n.º 7
0
 public InSQLSchoolDatabase(LearningContext context, IMapper mapper)
 {
     _context = context;
     _mapper  = mapper;
 }
Exemplo n.º 8
0
 public LearningRepository(LearningContext ctx)
 {
     _ctx = ctx;
 }
 public LearningRepository(LearningContext context, ILogger<LearningRepository> logger)
 {
     _context = context;
     _logger = logger;
 }
Exemplo n.º 10
0
 public UserRepository(LearningContext ctx) : base(ctx)
 {
 }
 public LearningContextSeedData(LearningContext context, UserManager<User> userManager)
 {
     _context = context;
     _userManager = userManager;
 }
Exemplo n.º 12
0
 public AccountController(LearningContext context)
 {
     _context = context;
 }
Exemplo n.º 13
0
 public LearningPractisesController(LearningContext context)
 {
     _context = context;
 }
Exemplo n.º 14
0
 public LearningRepository(LearningContext _ctx)
 {
     context = _ctx;
 }
 public StatisticsService(LearningContext db, IMapper mapper)
 {
     this.db     = db;
     this.mapper = mapper;
 }
Exemplo n.º 16
0
 public StudentRepository(LearningContext ctx) : base(ctx)
 {
 }
 public LanguagesService(LearningContext context, IMapper mapper)
 {
     this.db     = context;
     this.mapper = mapper;
 }
Exemplo n.º 18
0
 public BaseRepository(LearningContext ctx)
 {
     _ctx       = ctx;
     this.dbSet = _ctx.Set <T>();
 }
Exemplo n.º 19
0
 public LearningRessourcesController(LearningContext context, IHostingEnvironment env)
 {
     _context = context;
     _env     = env;
 }
Exemplo n.º 20
0
 public DecksService(LearningContext db, IMapper mapper, IUsersService usersService)
 {
     this.db           = db;
     this.mapper       = mapper;
     this.usersService = usersService;
 }
Exemplo n.º 21
0
 public LearningDataSeeder(LearningContext ctx)
 {
     _ctx = ctx;
 }
Exemplo n.º 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));
        }
Exemplo n.º 23
0
 public LearningRepository(LearningContext context)
 {
     _context = context;
 }
 public ProductsController(LearningContext context)
 {
     _context = context;
 }
Exemplo n.º 25
0
 public EvaluationRepository(LearningContext context) : base(context)
 {
 }
Exemplo n.º 26
0
 public Test1Service(LearningContext context)
 {
     this.context = context;
 }
Exemplo n.º 27
0
 public PlaneacionRepository(LearningContext context) : base(context)
 {
 }
 public TokenController(IConfiguration configuration, LearningContext dbContext)
 {
     _configuration = configuration;
     _dbContext     = dbContext;
 }
Exemplo n.º 29
0
 public AssignedCourseRepository(LearningContext context) : base(context)
 {
 }
 public EmployeeRepository(LearningContext learningContext)
 {
     _learningContext = learningContext;
 }