ICurriculumLearnerConfigBuilder<T>

Interfaces · AiDotNet.CurriculumLearning.Interfaces

Builder for curriculum learner configuration.

Known implementations: CurriculumLearnerConfigBuilder<T>

Methods

Method Summary
ICurriculumLearnerConfig<T> Build() Builds the configuration.
ICurriculumLearnerConfigBuilder<T> WithBatchSize(int batchSize) Sets the batch size.
ICurriculumLearnerConfigBuilder<T> WithDifficultyRecalculation(int frequency) Enables difficulty recalculation during training.
ICurriculumLearnerConfigBuilder<T> WithEarlyStopping(int patience, T minDelta) Configures early stopping.
ICurriculumLearnerConfigBuilder<T> WithInitialDataFraction(T fraction) Sets the initial data fraction.
ICurriculumLearnerConfigBuilder<T> WithLearningRate(T learningRate) Sets the learning rate.
ICurriculumLearnerConfigBuilder<T> WithLogAction(Action<string> logAction) Sets a custom logging action.
ICurriculumLearnerConfigBuilder<T> WithNumPhases(int phases) Sets the number of curriculum phases.
ICurriculumLearnerConfigBuilder<T> WithRandomSeed(int seed) Sets the random seed.
ICurriculumLearnerConfigBuilder<T> WithScheduleType(CurriculumScheduleType scheduleType) Sets the curriculum schedule type.
ICurriculumLearnerConfigBuilder<T> WithTotalEpochs(int epochs) Sets the total number of training epochs.
ICurriculumLearnerConfigBuilder<T> WithVerbosity(CurriculumVerbosity verbosity) Sets the verbosity level.