PPO class

Constructors

PPO({required int nActions, required List<int> actorLayers, required List<int> criticLayers, double clipEps = 0.2, int? seed})

Properties

ac ActorCritic
final
clipEps double
final
hashCode int
The hash code for this object.
no setterinherited
nActions int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
selectAction(List<double> state) int
toJson() String
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
inherited
updateBatch(List<List<double>> states, List<int> actions, List<double> advantages, {int epochs = 4, double lr = 0.001}) → void

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromJson(String s, {int? seed}) PPO
fromMap(Map<String, dynamic> m, {int? seed}) PPO