quantrs2_sim/quantum_reservoir_computing/
adaptivelearningconfig_traits.rs1use scirs2_core::random::prelude::*;
12
13use super::types::{AdaptiveLearningConfig, LearningRateSchedule, PlasticityType};
14
15impl Default for AdaptiveLearningConfig {
16 fn default() -> Self {
17 Self {
18 enable_online: true,
19 lr_schedule: LearningRateSchedule::Exponential,
20 initial_lr: 0.01,
21 min_lr: 1e-6,
22 lr_decay: 0.95,
23 adaptation_window: 100,
24 plasticity_type: PlasticityType::Hebbian,
25 enable_homeostasis: false,
26 target_activity: 0.5,
27 regulation_rate: 0.001,
28 enable_meta_learning: false,
29 meta_update_frequency: 1000,
30 }
31 }
32}