UNPKG

ml-double-q-learning

Version:
6 lines (5 loc) 471 B
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[]]>; }