reinforcement_engine 0.2.0
reinforcement_engine: ^0.2.0 copied to clipboard
Pure Dart reinforcement learning with Q-Learning, SARSA, Expected SARSA, Double Q-Learning, composable exploration, evaluation and JSON Q-tables.
Unreleased #
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
expectedSarsato 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
ActionPolicycontract andGreedyPolicy, 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,QLearningandSarsastrategies 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.