# Multi-phase training with penalty progression
strategy = ctn.Strategy()
# Phase 1: Weak constraints, focus on data fitting
strategy.add_step(
lr=1e-3,
steps=500,
penalties=penalties.update_alpha(0.01) # Weak penalties
)
# Phase 2: Moderate constraints, balance fitting and structure
strategy.add_step(
lr=5e-4,
steps=1000,
penalties=penalties.update_alpha(0.1) # Standard penalties
)
# Phase 3: Strong constraints, enforce biochemical realism
strategy.add_step(
lr=1e-4,
steps=500,
penalties=penalties.update_alpha(0.5) # Strong penalties
)