ml-double-q-learning
Version:
Library implementing the double-q-learning algorithm.
6 lines (5 loc) • 471 B
TypeScript
import { QLearningAgent, IQLearningAgent } from 'ml-q-learning';
export declare class DoubleQLearningAgent<TAction = any> extends QLearningAgent<TAction> implements IQLearningAgent {
protected chooseActionAlgorithm(stateSerialized: string): Promise<number>;
protected learningAlgorithm(action: number, reward: number, stateSerialized: string, stateSerializedPrime: string, getState: (stateSerialized: string) => Promise<number[]>): Promise<[string, number[]]>;
}