bnelearn.tests.test_learners module¶
This module tests implemented learner in a ‘static’ environment.
- bnelearn.tests.test_learners.strat_to_bidder(strategy, batch_size, player_position=0)[source]¶
creates a bidder from a strategy
- bnelearn.tests.test_learners.test_AESPG_learner_SGD()[source]¶
Tests the standard policy gradient learner in static env. This does not test complete convergence but ‘running in the right direction’.
- bnelearn.tests.test_learners.test_ES_learner_SGD()[source]¶
Tests ES PG learner with SGD optimizer in static environment. This does not test complete convergence but ‘running in the right direction’.
- bnelearn.tests.test_learners.test_PG_learner_SGD()[source]¶
Tests the standard policy gradient learner in static env. This does not test complete convergence but ‘running in the right direction’.