Skip to main content

reinforcement_engine 0.3.0 copy "reinforcement_engine: ^0.3.0" to clipboard
reinforcement_engine: ^0.3.0 copied to clipboard

Pure Dart reinforcement learning with Q-Learning, SARSA, Double Q, R-Learning, eligibility traces, composable exploration and evaluation.

Unreleased #

0.3.0 #

  • Validate learning stability across 420 task/parameter/seed combinations; publish raw results, provenance and bilingual reports retaining capped unsuccessful runs.
  • Validate independent public-contract consumers; document continuing/episodic lifecycle, persistence limitations and additive migration from 0.2.
  • Add RLearningAgent with relative values and an average-reward estimate, using explicit post-update greedy gating and validated projected table updates.
  • Add ContinuingAgent, trainContinuing and MaintenanceTask for bounded continuing windows that preserve environment state and reward estimates.
  • Add accumulating SarsaLambdaAgent, EpisodicAgent and trainEpisodic, including bootstrap-preserving truncation and trace cleanup after episode errors.
  • Add bilingual continuing/trace guides, executable examples and Flutter demos.

0.2.0 #

  • Add Expected SARSA with behavior probabilities bound to the current policy and exploration schedule, including greedy ties and distribution validation.

  • Add DoubleQAgent with two independent estimators and cross-table bootstraps.

  • Add LearningAgent, ActionValues and ExplorationPolicy contracts, epsilon-greedy and stable fixed-temperature softmax policies, preserving the default seeded API.

  • Add four-algorithm Flutter controls, algorithm/policy tests, bilingual control guides and runnable exploration/comparison examples.

  • Add expectedSarsa to LearningAlgorithm; exhaustive consumer switches may require a new branch. Existing TdUpdateRule implementations remain compatible.

  • Add read-only policy evaluation with independent RNG, caller-defined success, immutable episode summaries and aggregate reward/step/termination metrics.

  • Add the ActionPolicy contract and GreedyPolicy, shared by evaluation and the agent's exploitation path while preserving seeded behavior.

  • Add deterministic Cliff Walking with nonterminal cliff resets and a runnable Q-Learning/SARSA comparison.

  • Add Flutter evaluation controls and bilingual guides for the next 0.2 release.

0.1.0 #

  • Align source organization with the engine family: contracts, domain values, algorithms, agents, values, training and reference environments.

  • Add composable TdUpdateRule, QLearning and Sarsa strategies while retaining the existing enum constructor and public exports.

  • Add bilingual architecture, algorithm, extension, persistence and integration guides, class diagrams, runnable consumer examples and strategy parity tests.

  • Generic tabular Q-Learning and SARSA agents.

  • Epsilon-greedy exploration, random tie-breaking and seeded runs.

  • Sparse JSON Q-tables with user-defined state/action codecs.

  • Bounded episode runner with separate termination and truncation.

  • GridWorld and interactive Flutter learning lab.

  • Retain Flutter compatibility across the Material library split.

1
likes
0
points
149
downloads

Publisher

verified publisherkleberandrade.dev

Weekly Downloads

Pure Dart reinforcement learning with Q-Learning, SARSA, Double Q, R-Learning, eligibility traces, composable exploration and evaluation.

Repository (GitHub)
View/report issues

Topics

#reinforcement-learning #machine-learning #q-learning #sarsa #dart

License

unknown (license)

More

Packages that depend on reinforcement_engine