Java Code Examples for org.deeplearning4j.rl4j.learning.HistoryProcessor#Configuration

The following examples show how to use org.deeplearning4j.rl4j.learning.HistoryProcessor#Configuration . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: A3CDiscreteConv.java    From deeplearning4j with Apache License 2.0 5 votes vote down vote up
@Deprecated
public A3CDiscreteConv(MDP<OBSERVATION, Integer, DiscreteSpace> mdp, IActorCritic IActorCritic,
                       HistoryProcessor.Configuration hpconf, A3CConfiguration conf) {

    super(mdp, IActorCritic, conf.toLearningConfiguration());
    this.hpconf = hpconf;
    setHistoryProcessor(hpconf);
}
 
Example 2
Source File: AsyncNStepQLearningDiscreteConv.java    From deeplearning4j with Apache License 2.0 4 votes vote down vote up
public AsyncNStepQLearningDiscreteConv(MDP<OBSERVATION, Integer, DiscreteSpace> mdp, DQNFactory factory,
                                       HistoryProcessor.Configuration hpconf, AsyncQLearningConfiguration conf) {
    this(mdp, factory.buildDQN(hpconf.getShape(), mdp.getActionSpace().getSize()), hpconf, conf);
}
 
Example 3
Source File: QLearningDiscreteConv.java    From deeplearning4j with Apache License 2.0 4 votes vote down vote up
@Deprecated
public QLearningDiscreteConv(MDP<OBSERVATION, Integer, DiscreteSpace> mdp, IDQN dqn, HistoryProcessor.Configuration hpconf,
                             QLConfiguration conf, IDataManager dataManager) {
    this(mdp, dqn, hpconf, conf);
    addListener(new DataManagerTrainingListener(dataManager));
}
 
Example 4
Source File: AsyncNStepQLearningDiscreteConv.java    From deeplearning4j with Apache License 2.0 4 votes vote down vote up
@Deprecated
public AsyncNStepQLearningDiscreteConv(MDP<OBSERVATION, Integer, DiscreteSpace> mdp, IDQN dqn,
                                       HistoryProcessor.Configuration hpconf, AsyncQLearningConfiguration conf, IDataManager dataManager) {
    this(mdp, dqn, hpconf, conf);
    addListener(new DataManagerTrainingListener(dataManager));
}
 
Example 5
Source File: A3CDiscreteConv.java    From deeplearning4j with Apache License 2.0 4 votes vote down vote up
public A3CDiscreteConv(MDP<OBSERVATION, Integer, DiscreteSpace> mdp, ActorCriticNetworkConfiguration netConf,
                       HistoryProcessor.Configuration hpconf, A3CLearningConfiguration conf) {
    this(mdp, new ActorCriticFactoryCompGraphStdConv(netConf), hpconf, conf);
}
 
Example 6
Source File: A3CDiscreteConv.java    From deeplearning4j with Apache License 2.0 4 votes vote down vote up
@Deprecated
public A3CDiscreteConv(MDP<OBSERVATION, Integer, DiscreteSpace> mdp, ActorCriticFactoryCompGraphStdConv.Configuration netConf,
                       HistoryProcessor.Configuration hpconf, A3CConfiguration conf) {
    this(mdp, new ActorCriticFactoryCompGraphStdConv(netConf.toNetworkConfiguration()), hpconf, conf);
}
 
Example 7
Source File: A3CDiscreteConv.java    From deeplearning4j with Apache License 2.0 4 votes vote down vote up
@Deprecated
public A3CDiscreteConv(MDP<OBSERVATION, Integer, DiscreteSpace> mdp, ActorCriticFactoryCompGraphStdConv.Configuration netConf,
                       HistoryProcessor.Configuration hpconf, A3CConfiguration conf, IDataManager dataManager) {
    this(mdp, new ActorCriticFactoryCompGraphStdConv(netConf.toNetworkConfiguration()), hpconf, conf, dataManager);
}
 
Example 8
Source File: A3CDiscreteConv.java    From deeplearning4j with Apache License 2.0 4 votes vote down vote up
public A3CDiscreteConv(MDP<OBSERVATION, Integer, DiscreteSpace> mdp, ActorCriticFactoryCompGraph factory,
                       HistoryProcessor.Configuration hpconf, A3CLearningConfiguration conf) {
    this(mdp, factory.buildActorCritic(hpconf.getShape(), mdp.getActionSpace().getSize()), hpconf, conf);
}
 
Example 9
Source File: AsyncNStepQLearningDiscreteConv.java    From deeplearning4j with Apache License 2.0 4 votes vote down vote up
@Deprecated
public AsyncNStepQLearningDiscreteConv(MDP<OBSERVATION, Integer, DiscreteSpace> mdp, DQNFactory factory,
                                       HistoryProcessor.Configuration hpconf, AsyncQLearningConfiguration conf, IDataManager dataManager) {
    this(mdp, factory.buildDQN(hpconf.getShape(), mdp.getActionSpace().getSize()), hpconf, conf, dataManager);
}
 
Example 10
Source File: Policy.java    From deeplearning4j with Apache License 2.0 4 votes vote down vote up
public <O extends Encodable, AS extends ActionSpace<A>> double play(MDP<O, A, AS> mdp, HistoryProcessor.Configuration conf) {
    return play(mdp, new HistoryProcessor(conf));
}
 
Example 11
Source File: A3CDiscreteConv.java    From deeplearning4j with Apache License 2.0 4 votes vote down vote up
public A3CDiscreteConv(MDP<OBSERVATION, Integer, DiscreteSpace> mdp, IActorCritic IActorCritic,
                       HistoryProcessor.Configuration hpconf, A3CLearningConfiguration conf) {
    super(mdp, IActorCritic, conf);
    this.hpconf = hpconf;
    setHistoryProcessor(hpconf);
}
 
Example 12
Source File: A3CDiscreteConv.java    From deeplearning4j with Apache License 2.0 4 votes vote down vote up
@Deprecated
public A3CDiscreteConv(MDP<OBSERVATION, Integer, DiscreteSpace> mdp, IActorCritic actorCritic,
                       HistoryProcessor.Configuration hpconf, A3CConfiguration conf, IDataManager dataManager) {
    this(mdp, actorCritic, hpconf, conf);
    addListener(new DataManagerTrainingListener(dataManager));
}
 
Example 13
Source File: QLearningDiscreteConv.java    From deeplearning4j with Apache License 2.0 4 votes vote down vote up
public QLearningDiscreteConv(MDP<OBSERVATION, Integer, DiscreteSpace> mdp, NetworkConfiguration netConf,
                             HistoryProcessor.Configuration hpconf, QLearningConfiguration conf) {
    this(mdp, new DQNFactoryStdConv(netConf), hpconf, conf);
}
 
Example 14
Source File: AsyncNStepQLearningDiscreteConv.java    From deeplearning4j with Apache License 2.0 4 votes vote down vote up
@Deprecated
public AsyncNStepQLearningDiscreteConv(MDP<OBSERVATION, Integer, DiscreteSpace> mdp, NetworkConfiguration netConf,
                                       HistoryProcessor.Configuration hpconf, AsyncQLearningConfiguration conf, IDataManager dataManager) {
    this(mdp, new DQNFactoryStdConv(netConf), hpconf, conf, dataManager);
}
 
Example 15
Source File: QLearningDiscreteConv.java    From deeplearning4j with Apache License 2.0 4 votes vote down vote up
@Deprecated
public QLearningDiscreteConv(MDP<OBSERVATION, Integer, DiscreteSpace> mdp, DQNFactoryStdConv.Configuration netConf,
                             HistoryProcessor.Configuration hpconf, QLConfiguration conf, IDataManager dataManager) {
    this(mdp, new DQNFactoryStdConv(netConf.toNetworkConfiguration()), hpconf, conf, dataManager);
}
 
Example 16
Source File: QLearningDiscreteConv.java    From deeplearning4j with Apache License 2.0 4 votes vote down vote up
public QLearningDiscreteConv(MDP<OBSERVATION, Integer, DiscreteSpace> mdp, DQNFactory factory,
                             HistoryProcessor.Configuration hpconf, QLearningConfiguration conf) {
    this(mdp, factory.buildDQN(hpconf.getShape(), mdp.getActionSpace().getSize()), hpconf, conf);
}
 
Example 17
Source File: QLearningDiscreteConv.java    From deeplearning4j with Apache License 2.0 4 votes vote down vote up
@Deprecated
public QLearningDiscreteConv(MDP<OBSERVATION, Integer, DiscreteSpace> mdp, DQNFactory factory,
                             HistoryProcessor.Configuration hpconf, QLConfiguration conf) {
    this(mdp, factory.buildDQN(hpconf.getShape(), mdp.getActionSpace().getSize()), hpconf, conf);
}
 
Example 18
Source File: QLearningDiscreteConv.java    From deeplearning4j with Apache License 2.0 4 votes vote down vote up
@Deprecated
public QLearningDiscreteConv(MDP<OBSERVATION, Integer, DiscreteSpace> mdp, DQNFactory factory,
                             HistoryProcessor.Configuration hpconf, QLConfiguration conf, IDataManager dataManager) {
    this(mdp, factory.buildDQN(hpconf.getShape(), mdp.getActionSpace().getSize()), hpconf, conf, dataManager);
}
 
Example 19
Source File: QLearningDiscreteConv.java    From deeplearning4j with Apache License 2.0 4 votes vote down vote up
public QLearningDiscreteConv(MDP<OBSERVATION, Integer, DiscreteSpace> mdp, IDQN dqn, HistoryProcessor.Configuration hpconf,
                             QLearningConfiguration conf) {
    super(mdp, dqn, conf, conf.getEpsilonNbStep() * hpconf.getSkipFrame());
    setHistoryProcessor(hpconf);
}
 
Example 20
Source File: QLearningDiscreteConv.java    From deeplearning4j with Apache License 2.0 4 votes vote down vote up
@Deprecated
public QLearningDiscreteConv(MDP<OBSERVATION, Integer, DiscreteSpace> mdp, IDQN dqn, HistoryProcessor.Configuration hpconf,
                             QLConfiguration conf) {
    super(mdp, dqn, conf.toLearningConfiguration(), conf.getEpsilonNbStep() * hpconf.getSkipFrame());
    setHistoryProcessor(hpconf);
}