From 573e07e2b45435f7b7c3217ff04ea04b710974c3 Mon Sep 17 00:00:00 2001 From: Robin van Emden Date: Mon, 8 Jul 2019 16:11:40 +0200 Subject: [PATCH] Version: 0.9.8.2 --- DESCRIPTION | 2 +- NEWS.md | 6 ++++++ cran-comments.md | 6 +++--- docs/articles/cmabs.html | 2 +- docs/articles/cmabsoffline.html | 2 +- docs/articles/eckles_kaptein.html | 2 +- docs/articles/epsilongreedy.html | 2 +- docs/articles/index.html | 2 +- docs/articles/introduction.html | 2 +- docs/articles/mabs.html | 2 +- docs/articles/ml10m.html | 2 +- docs/articles/offline_depaul_movies.html | 2 +- docs/articles/only_pkgdown/faq.html | 2 +- docs/articles/replication.html | 2 +- docs/articles/simpsons.html | 2 +- docs/articles/sutton_barto.html | 2 +- docs/articles/website_optimization.html | 2 +- docs/authors.html | 2 +- docs/index.html | 2 +- docs/news/index.html | 12 +++++++++++- docs/reference/Agent.html | 2 +- docs/reference/Bandit.html | 2 +- docs/reference/BasicBernoulliBandit.html | 2 +- docs/reference/BasicGaussianBandit.html | 2 +- docs/reference/BootstrapTSPolicy.html | 2 +- docs/reference/ContextualBernoulliBandit.html | 2 +- docs/reference/ContextualBinaryBandit.html | 2 +- docs/reference/ContextualEpochGreedyPolicy.html | 2 +- docs/reference/ContextualEpsilonGreedyPolicy.html | 2 +- docs/reference/ContextualHybridBandit.html | 2 +- docs/reference/ContextualLinTSPolicy.html | 2 +- docs/reference/ContextualLinearBandit.html | 2 +- docs/reference/ContextualLogitBTSPolicy.html | 2 +- docs/reference/ContextualLogitBandit.html | 2 +- docs/reference/ContextualPrecachingBandit.html | 2 +- docs/reference/ContextualTSProbitPolicy.html | 2 +- docs/reference/ContextualWheelBandit.html | 2 +- docs/reference/ContinuumBandit.html | 2 +- docs/reference/EpsilonFirstPolicy.html | 4 ++-- docs/reference/EpsilonGreedyPolicy.html | 4 ++-- docs/reference/Exp3Policy.html | 4 ++-- docs/reference/FixedPolicy.html | 2 +- docs/reference/GittinsBrezziLaiPolicy.html | 2 +- docs/reference/GradientPolicy.html | 4 ++-- docs/reference/History.html | 2 +- docs/reference/LifPolicy.html | 2 +- docs/reference/LinUCBDisjointOptimizedPolicy.html | 2 +- docs/reference/LinUCBDisjointPolicy.html | 2 +- docs/reference/LinUCBGeneralPolicy.html | 2 +- docs/reference/LinUCBHybridOptimizedPolicy.html | 2 +- docs/reference/LinUCBHybridPolicy.html | 2 +- docs/reference/OfflineBootstrappedReplayBandit.html | 2 +- docs/reference/OfflineDirectMethodBandit.html | 2 +- docs/reference/OfflineDoublyRobustBandit.html | 2 +- .../OfflineLookupReplayEvaluatorBandit.html | 2 +- docs/reference/OfflinePropensityWeightingBandit.html | 2 +- docs/reference/OfflineReplayEvaluatorBandit.html | 2 +- docs/reference/OraclePolicy.html | 2 +- docs/reference/Plot.html | 2 +- docs/reference/Policy.html | 2 +- docs/reference/RandomPolicy.html | 4 ++-- docs/reference/Simulator.html | 2 +- docs/reference/SoftmaxPolicy.html | 4 ++-- docs/reference/ThompsonSamplingPolicy.html | 4 ++-- docs/reference/UCB1Policy.html | 2 +- docs/reference/UCB2Policy.html | 4 ++-- docs/reference/clipr.html | 2 +- docs/reference/data_table_factors_to_numeric.html | 2 +- docs/reference/dec-set.html | 2 +- docs/reference/formatted_difftime.html | 2 +- docs/reference/get_arm_context.html | 2 +- docs/reference/get_full_context.html | 2 +- docs/reference/inc-set.html | 2 +- docs/reference/ind.html | 2 +- docs/reference/index.html | 2 +- docs/reference/inv.html | 2 +- docs/reference/invgamma.html | 2 +- docs/reference/invlogit.html | 2 +- docs/reference/is_rstudio.html | 2 +- docs/reference/mvrnorm.html | 2 +- docs/reference/one_hot.html | 2 +- docs/reference/ones_in_zeroes.html | 2 +- docs/reference/plot.history.html | 2 +- docs/reference/print.history.html | 2 +- docs/reference/prob_winner.html | 2 +- docs/reference/sample_one_of.html | 2 +- docs/reference/set_external.html | 2 +- docs/reference/sherman_morrisson.html | 2 +- docs/reference/sim_post.html | 2 +- docs/reference/sum_of.html | 2 +- docs/reference/summary.history.html | 2 +- docs/reference/value_remaining.html | 2 +- docs/reference/var_welford.html | 2 +- docs/reference/which_max_list.html | 2 +- docs/reference/which_max_tied.html | 2 +- 95 files changed, 120 insertions(+), 104 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index d873958..21b72c6 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Package: contextual Type: Package Title: Simulation and Analysis of Contextual Multi-Armed Bandit Policies -Version: 0.9.8.1 +Version: 0.9.8.2 Authors@R: c(person("Robin", "van Emden", role = c("aut", "cre"), comment = c(ORCID = "0000-0001-5820-8638"), email = "robinvanemden@gmail.com"), person("Maurits", "Kaptein", role = "ctb", email = "m.c.kaptein@tilburguniversity.edu", diff --git a/NEWS.md b/NEWS.md index 476e3c2..f37f288 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,9 @@ +contextual 0.9.8.2 +================== + +* Minor documentation update +* Minor refactoring: Private utility functions moved from the History to the Plot class. + contextual 0.9.8.1 ================== diff --git a/cran-comments.md b/cran-comments.md index 1a97c25..5f84da8 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -1,11 +1,11 @@ -Minor update adding "suppressWarnings(RNGversion("3.5.0"))" to ensure CRAN devel compatibility +Minor refactoring of private functions. ## Test environments -* local Windows 10 (x64) release, R 3.5.1 +* local Windows 10 (x64) release, R 3.6.0 * OS X install (on travis-ci) R-release * Ubuntu 12.04 (on travis-ci) R-release -* Windows Server 2012 R2 x64 install (on appveyor), R 3.5.1 +* Windows Server 2012 R2 x64 install (on appveyor), R 3.6.1 * Rhub: * Fedora Linux, R-devel, clang, gfortran * Ubuntu Linux 16.04 LTS, R-release, GCC diff --git a/docs/articles/cmabs.html b/docs/articles/cmabs.html index 596d3fb..d9b628a 100644 --- a/docs/articles/cmabs.html +++ b/docs/articles/cmabs.html @@ -32,7 +32,7 @@ contextual - 0.9.8.1 + 0.9.8.2 diff --git a/docs/articles/cmabsoffline.html b/docs/articles/cmabsoffline.html index 57a678f..1a51ec4 100644 --- a/docs/articles/cmabsoffline.html +++ b/docs/articles/cmabsoffline.html @@ -32,7 +32,7 @@ contextual - 0.9.8.1 + 0.9.8.2 diff --git a/docs/articles/eckles_kaptein.html b/docs/articles/eckles_kaptein.html index 880934c..6c271c1 100644 --- a/docs/articles/eckles_kaptein.html +++ b/docs/articles/eckles_kaptein.html @@ -32,7 +32,7 @@ contextual - 0.9.8.1 + 0.9.8.2 diff --git a/docs/articles/epsilongreedy.html b/docs/articles/epsilongreedy.html index edebf88..8a32d9f 100644 --- a/docs/articles/epsilongreedy.html +++ b/docs/articles/epsilongreedy.html @@ -32,7 +32,7 @@ contextual - 0.9.8.1 + 0.9.8.2 diff --git a/docs/articles/index.html b/docs/articles/index.html index 639e0aa..aa5530b 100644 --- a/docs/articles/index.html +++ b/docs/articles/index.html @@ -66,7 +66,7 @@ contextual - 0.9.8.1 + 0.9.8.2 diff --git a/docs/articles/introduction.html b/docs/articles/introduction.html index 21a1334..1e42cde 100644 --- a/docs/articles/introduction.html +++ b/docs/articles/introduction.html @@ -32,7 +32,7 @@ contextual - 0.9.8.1 + 0.9.8.2 diff --git a/docs/articles/mabs.html b/docs/articles/mabs.html index 1e34a4e..91ece85 100644 --- a/docs/articles/mabs.html +++ b/docs/articles/mabs.html @@ -32,7 +32,7 @@ contextual - 0.9.8.1 + 0.9.8.2 diff --git a/docs/articles/ml10m.html b/docs/articles/ml10m.html index 83642cc..3745e53 100644 --- a/docs/articles/ml10m.html +++ b/docs/articles/ml10m.html @@ -32,7 +32,7 @@ contextual - 0.9.8.1 + 0.9.8.2 diff --git a/docs/articles/offline_depaul_movies.html b/docs/articles/offline_depaul_movies.html index 280c458..dd13a90 100644 --- a/docs/articles/offline_depaul_movies.html +++ b/docs/articles/offline_depaul_movies.html @@ -32,7 +32,7 @@ contextual - 0.9.8.1 + 0.9.8.2 diff --git a/docs/articles/only_pkgdown/faq.html b/docs/articles/only_pkgdown/faq.html index 3015636..21d9d1a 100644 --- a/docs/articles/only_pkgdown/faq.html +++ b/docs/articles/only_pkgdown/faq.html @@ -32,7 +32,7 @@ contextual - 0.9.8.1 + 0.9.8.2 diff --git a/docs/articles/replication.html b/docs/articles/replication.html index 1a4fb46..bfc8eaa 100644 --- a/docs/articles/replication.html +++ b/docs/articles/replication.html @@ -32,7 +32,7 @@ contextual - 0.9.8.1 + 0.9.8.2 diff --git a/docs/articles/simpsons.html b/docs/articles/simpsons.html index 72630b4..44feffd 100644 --- a/docs/articles/simpsons.html +++ b/docs/articles/simpsons.html @@ -32,7 +32,7 @@ contextual - 0.9.8.1 + 0.9.8.2 diff --git a/docs/articles/sutton_barto.html b/docs/articles/sutton_barto.html index 2a4b889..0988e60 100644 --- a/docs/articles/sutton_barto.html +++ b/docs/articles/sutton_barto.html @@ -32,7 +32,7 @@ contextual - 0.9.8.1 + 0.9.8.2 diff --git a/docs/articles/website_optimization.html b/docs/articles/website_optimization.html index cd3997b..7449368 100644 --- a/docs/articles/website_optimization.html +++ b/docs/articles/website_optimization.html @@ -32,7 +32,7 @@ contextual - 0.9.8.1 + 0.9.8.2 diff --git a/docs/authors.html b/docs/authors.html index 037a3ef..f421d9e 100644 --- a/docs/authors.html +++ b/docs/authors.html @@ -66,7 +66,7 @@ contextual - 0.9.8.1 + 0.9.8.2 diff --git a/docs/index.html b/docs/index.html index 99e24f6..68fb7cd 100644 --- a/docs/index.html +++ b/docs/index.html @@ -35,7 +35,7 @@ contextual - 0.9.8.1 + 0.9.8.2 diff --git a/docs/news/index.html b/docs/news/index.html index 8143f64..681b7b7 100644 --- a/docs/news/index.html +++ b/docs/news/index.html @@ -66,7 +66,7 @@ contextual - 0.9.8.1 + 0.9.8.2 @@ -166,6 +166,15 @@

Changelog

Source: NEWS.md +
+

+contextual 0.9.8.2 Unreleased +

+ +

contextual 0.9.8.1 2019-03-17 @@ -208,6 +217,7 @@

Contents

diff --git a/docs/reference/Bandit.html b/docs/reference/Bandit.html index ed39c79..11c2ce2 100644 --- a/docs/reference/Bandit.html +++ b/docs/reference/Bandit.html @@ -69,7 +69,7 @@ contextual - 0.9.8.1 + 0.9.8.2

diff --git a/docs/reference/BasicBernoulliBandit.html b/docs/reference/BasicBernoulliBandit.html index b5c998e..340b304 100644 --- a/docs/reference/BasicBernoulliBandit.html +++ b/docs/reference/BasicBernoulliBandit.html @@ -69,7 +69,7 @@ contextual - 0.9.8.1 + 0.9.8.2 diff --git a/docs/reference/BasicGaussianBandit.html b/docs/reference/BasicGaussianBandit.html index fafc874..80dc416 100644 --- a/docs/reference/BasicGaussianBandit.html +++ b/docs/reference/BasicGaussianBandit.html @@ -69,7 +69,7 @@ contextual - 0.9.8.1 + 0.9.8.2 diff --git a/docs/reference/BootstrapTSPolicy.html b/docs/reference/BootstrapTSPolicy.html index f908a1b..03e269f 100644 --- a/docs/reference/BootstrapTSPolicy.html +++ b/docs/reference/BootstrapTSPolicy.html @@ -69,7 +69,7 @@ contextual - 0.9.8.1 + 0.9.8.2 diff --git a/docs/reference/ContextualBernoulliBandit.html b/docs/reference/ContextualBernoulliBandit.html index 3a11e1c..7c9dd5c 100644 --- a/docs/reference/ContextualBernoulliBandit.html +++ b/docs/reference/ContextualBernoulliBandit.html @@ -69,7 +69,7 @@ contextual - 0.9.8.1 + 0.9.8.2 diff --git a/docs/reference/ContextualBinaryBandit.html b/docs/reference/ContextualBinaryBandit.html index f838e41..f4416f5 100644 --- a/docs/reference/ContextualBinaryBandit.html +++ b/docs/reference/ContextualBinaryBandit.html @@ -69,7 +69,7 @@ contextual - 0.9.8.1 + 0.9.8.2 diff --git a/docs/reference/ContextualEpochGreedyPolicy.html b/docs/reference/ContextualEpochGreedyPolicy.html index a6093ae..0862c47 100644 --- a/docs/reference/ContextualEpochGreedyPolicy.html +++ b/docs/reference/ContextualEpochGreedyPolicy.html @@ -69,7 +69,7 @@ contextual - 0.9.8.1 + 0.9.8.2 diff --git a/docs/reference/ContextualEpsilonGreedyPolicy.html b/docs/reference/ContextualEpsilonGreedyPolicy.html index 851bf9f..1724618 100644 --- a/docs/reference/ContextualEpsilonGreedyPolicy.html +++ b/docs/reference/ContextualEpsilonGreedyPolicy.html @@ -69,7 +69,7 @@ contextual - 0.9.8.1 + 0.9.8.2 diff --git a/docs/reference/ContextualHybridBandit.html b/docs/reference/ContextualHybridBandit.html index 2554f50..84c5a0a 100644 --- a/docs/reference/ContextualHybridBandit.html +++ b/docs/reference/ContextualHybridBandit.html @@ -69,7 +69,7 @@ contextual - 0.9.8.1 + 0.9.8.2 diff --git a/docs/reference/ContextualLinTSPolicy.html b/docs/reference/ContextualLinTSPolicy.html index 0f64e3e..5b2bc3b 100644 --- a/docs/reference/ContextualLinTSPolicy.html +++ b/docs/reference/ContextualLinTSPolicy.html @@ -73,7 +73,7 @@ contextual - 0.9.8.1 + 0.9.8.2 diff --git a/docs/reference/ContextualLinearBandit.html b/docs/reference/ContextualLinearBandit.html index 118b72f..f93c113 100644 --- a/docs/reference/ContextualLinearBandit.html +++ b/docs/reference/ContextualLinearBandit.html @@ -69,7 +69,7 @@ contextual - 0.9.8.1 + 0.9.8.2 diff --git a/docs/reference/ContextualLogitBTSPolicy.html b/docs/reference/ContextualLogitBTSPolicy.html index 54455c9..51ffca6 100644 --- a/docs/reference/ContextualLogitBTSPolicy.html +++ b/docs/reference/ContextualLogitBTSPolicy.html @@ -69,7 +69,7 @@ contextual - 0.9.8.1 + 0.9.8.2 diff --git a/docs/reference/ContextualLogitBandit.html b/docs/reference/ContextualLogitBandit.html index 7714e08..1433315 100644 --- a/docs/reference/ContextualLogitBandit.html +++ b/docs/reference/ContextualLogitBandit.html @@ -69,7 +69,7 @@ contextual - 0.9.8.1 + 0.9.8.2 diff --git a/docs/reference/ContextualPrecachingBandit.html b/docs/reference/ContextualPrecachingBandit.html index c800471..69ce92f 100644 --- a/docs/reference/ContextualPrecachingBandit.html +++ b/docs/reference/ContextualPrecachingBandit.html @@ -69,7 +69,7 @@ contextual - 0.9.8.1 + 0.9.8.2 diff --git a/docs/reference/ContextualTSProbitPolicy.html b/docs/reference/ContextualTSProbitPolicy.html index f2af37c..cfead5f 100644 --- a/docs/reference/ContextualTSProbitPolicy.html +++ b/docs/reference/ContextualTSProbitPolicy.html @@ -69,7 +69,7 @@ contextual - 0.9.8.1 + 0.9.8.2 diff --git a/docs/reference/ContextualWheelBandit.html b/docs/reference/ContextualWheelBandit.html index 0845859..a914569 100644 --- a/docs/reference/ContextualWheelBandit.html +++ b/docs/reference/ContextualWheelBandit.html @@ -69,7 +69,7 @@ contextual - 0.9.8.1 + 0.9.8.2 diff --git a/docs/reference/ContinuumBandit.html b/docs/reference/ContinuumBandit.html index 200a764..2baa667 100644 --- a/docs/reference/ContinuumBandit.html +++ b/docs/reference/ContinuumBandit.html @@ -71,7 +71,7 @@ contextual - 0.9.8.1 + 0.9.8.2 diff --git a/docs/reference/EpsilonFirstPolicy.html b/docs/reference/EpsilonFirstPolicy.html index 4be08d5..d8b49b9 100644 --- a/docs/reference/EpsilonFirstPolicy.html +++ b/docs/reference/EpsilonFirstPolicy.html @@ -70,7 +70,7 @@ contextual - 0.9.8.1 + 0.9.8.2 @@ -255,7 +255,7 @@

Examp bandit <- BasicBernoulliBandit$new(weights = weights) agent <- Agent$new(policy, bandit) -history <- Simulator$new(agent, horizon, simulations, do_parallel = FALSE)$run()
#> Simulation horizon: 100
#> Number of simulations: 100
#> Number of batches: 1
#> Starting main loop.
#> Finished main loop.
#> Completed simulation in 0:00:01.087
#> Computing statistics.
+history <- Simulator$new(agent, horizon, simulations, do_parallel = FALSE)$run()
#> Simulation horizon: 100
#> Number of simulations: 100
#> Number of batches: 1
#> Starting main loop.
#> Finished main loop.
#> Completed simulation in 0:00:01.090
#> Computing statistics.
plot(history, type = "cumulative")
plot(history, type = "arms")
@@ -254,7 +254,7 @@

Examp bandit <- BasicBernoulliBandit$new(weights = weights) agent <- Agent$new(policy, bandit) -history <- Simulator$new(agent, horizon, simulations, do_parallel = FALSE)$run()
#> Simulation horizon: 100
#> Number of simulations: 100
#> Number of batches: 1
#> Starting main loop.
#> Finished main loop.
#> Completed simulation in 0:00:01.053
#> Computing statistics.
+history <- Simulator$new(agent, horizon, simulations, do_parallel = FALSE)$run()
#> Simulation horizon: 100
#> Number of simulations: 100
#> Number of batches: 1
#> Starting main loop.
#> Finished main loop.
#> Completed simulation in 0:00:00.943
#> Computing statistics.
plot(history, type = "cumulative")
plot(history, type = "arms")
diff --git a/docs/reference/Exp3Policy.html b/docs/reference/Exp3Policy.html index 0a573ba..49e3e02 100644 --- a/docs/reference/Exp3Policy.html +++ b/docs/reference/Exp3Policy.html @@ -72,7 +72,7 @@ contextual - 0.9.8.1 + 0.9.8.2 @@ -247,7 +247,7 @@

Examp bandit <- BasicBernoulliBandit$new(weights = weights) agent <- Agent$new(policy, bandit) -history <- Simulator$new(agent, horizon, simulations, do_parallel = FALSE)$run()
#> Simulation horizon: 100
#> Number of simulations: 100
#> Number of batches: 1
#> Starting main loop.
#> Finished main loop.
#> Completed simulation in 0:00:01.111
#> Computing statistics.
+history <- Simulator$new(agent, horizon, simulations, do_parallel = FALSE)$run()
#> Simulation horizon: 100
#> Number of simulations: 100
#> Number of batches: 1
#> Starting main loop.
#> Finished main loop.
#> Completed simulation in 0:00:01.022
#> Computing statistics.
plot(history, type = "cumulative")
plot(history, type = "arms")
diff --git a/docs/reference/FixedPolicy.html b/docs/reference/FixedPolicy.html index 685ba57..9932aa1 100644 --- a/docs/reference/FixedPolicy.html +++ b/docs/reference/FixedPolicy.html @@ -69,7 +69,7 @@ contextual - 0.9.8.1 + 0.9.8.2 diff --git a/docs/reference/GittinsBrezziLaiPolicy.html b/docs/reference/GittinsBrezziLaiPolicy.html index 92c3e81..103ca26 100644 --- a/docs/reference/GittinsBrezziLaiPolicy.html +++ b/docs/reference/GittinsBrezziLaiPolicy.html @@ -70,7 +70,7 @@ contextual - 0.9.8.1 + 0.9.8.2 diff --git a/docs/reference/GradientPolicy.html b/docs/reference/GradientPolicy.html index d1ca2e7..eda5426 100644 --- a/docs/reference/GradientPolicy.html +++ b/docs/reference/GradientPolicy.html @@ -69,7 +69,7 @@ contextual - 0.9.8.1 + 0.9.8.2 @@ -241,7 +241,7 @@

Examp bandit <- BasicBernoulliBandit$new(weights = weights) agent <- Agent$new(policy, bandit) -history <- Simulator$new(agent, horizon, simulations, do_parallel = FALSE)$run()
#> Simulation horizon: 100
#> Number of simulations: 100
#> Number of batches: 1
#> Starting main loop.
#> Finished main loop.
#> Completed simulation in 0:00:01.012
#> Computing statistics.
+history <- Simulator$new(agent, horizon, simulations, do_parallel = FALSE)$run()
#> Simulation horizon: 100
#> Number of simulations: 100
#> Number of batches: 1
#> Starting main loop.
#> Finished main loop.
#> Completed simulation in 0:00:00.964
#> Computing statistics.
plot(history, type = "cumulative")
plot(history, type = "arms")
diff --git a/docs/reference/History.html b/docs/reference/History.html index 57f025a..7195acd 100644 --- a/docs/reference/History.html +++ b/docs/reference/History.html @@ -71,7 +71,7 @@ contextual - 0.9.8.1 + 0.9.8.2 diff --git a/docs/reference/LifPolicy.html b/docs/reference/LifPolicy.html index c2c02d9..b7704be 100644 --- a/docs/reference/LifPolicy.html +++ b/docs/reference/LifPolicy.html @@ -79,7 +79,7 @@ contextual - 0.9.8.1 + 0.9.8.2 diff --git a/docs/reference/LinUCBDisjointOptimizedPolicy.html b/docs/reference/LinUCBDisjointOptimizedPolicy.html index 8e8b6ef..048f95f 100644 --- a/docs/reference/LinUCBDisjointOptimizedPolicy.html +++ b/docs/reference/LinUCBDisjointOptimizedPolicy.html @@ -73,7 +73,7 @@ contextual - 0.9.8.1 + 0.9.8.2 diff --git a/docs/reference/LinUCBDisjointPolicy.html b/docs/reference/LinUCBDisjointPolicy.html index a5da38d..8453d4d 100644 --- a/docs/reference/LinUCBDisjointPolicy.html +++ b/docs/reference/LinUCBDisjointPolicy.html @@ -73,7 +73,7 @@ contextual - 0.9.8.1 + 0.9.8.2 diff --git a/docs/reference/LinUCBGeneralPolicy.html b/docs/reference/LinUCBGeneralPolicy.html index e076b8a..b4b52ab 100644 --- a/docs/reference/LinUCBGeneralPolicy.html +++ b/docs/reference/LinUCBGeneralPolicy.html @@ -71,7 +71,7 @@ contextual - 0.9.8.1 + 0.9.8.2 diff --git a/docs/reference/LinUCBHybridOptimizedPolicy.html b/docs/reference/LinUCBHybridOptimizedPolicy.html index caee5f1..555c433 100644 --- a/docs/reference/LinUCBHybridOptimizedPolicy.html +++ b/docs/reference/LinUCBHybridOptimizedPolicy.html @@ -72,7 +72,7 @@ contextual - 0.9.8.1 + 0.9.8.2 diff --git a/docs/reference/LinUCBHybridPolicy.html b/docs/reference/LinUCBHybridPolicy.html index 98b2fbf..b0ac7ea 100644 --- a/docs/reference/LinUCBHybridPolicy.html +++ b/docs/reference/LinUCBHybridPolicy.html @@ -72,7 +72,7 @@ contextual - 0.9.8.1 + 0.9.8.2 diff --git a/docs/reference/OfflineBootstrappedReplayBandit.html b/docs/reference/OfflineBootstrappedReplayBandit.html index 154eb66..457eeda 100644 --- a/docs/reference/OfflineBootstrappedReplayBandit.html +++ b/docs/reference/OfflineBootstrappedReplayBandit.html @@ -69,7 +69,7 @@ contextual - 0.9.8.1 + 0.9.8.2 diff --git a/docs/reference/OfflineDirectMethodBandit.html b/docs/reference/OfflineDirectMethodBandit.html index 4ebf599..874506a 100644 --- a/docs/reference/OfflineDirectMethodBandit.html +++ b/docs/reference/OfflineDirectMethodBandit.html @@ -69,7 +69,7 @@ contextual - 0.9.8.1 + 0.9.8.2 diff --git a/docs/reference/OfflineDoublyRobustBandit.html b/docs/reference/OfflineDoublyRobustBandit.html index 1b13f57..c7202bd 100644 --- a/docs/reference/OfflineDoublyRobustBandit.html +++ b/docs/reference/OfflineDoublyRobustBandit.html @@ -69,7 +69,7 @@ contextual - 0.9.8.1 + 0.9.8.2 diff --git a/docs/reference/OfflineLookupReplayEvaluatorBandit.html b/docs/reference/OfflineLookupReplayEvaluatorBandit.html index 86ff4fe..66a6ba3 100644 --- a/docs/reference/OfflineLookupReplayEvaluatorBandit.html +++ b/docs/reference/OfflineLookupReplayEvaluatorBandit.html @@ -69,7 +69,7 @@ contextual - 0.9.8.1 + 0.9.8.2 diff --git a/docs/reference/OfflinePropensityWeightingBandit.html b/docs/reference/OfflinePropensityWeightingBandit.html index f6b1602..753b9c4 100644 --- a/docs/reference/OfflinePropensityWeightingBandit.html +++ b/docs/reference/OfflinePropensityWeightingBandit.html @@ -69,7 +69,7 @@ contextual - 0.9.8.1 + 0.9.8.2 diff --git a/docs/reference/OfflineReplayEvaluatorBandit.html b/docs/reference/OfflineReplayEvaluatorBandit.html index 925efce..bd32800 100644 --- a/docs/reference/OfflineReplayEvaluatorBandit.html +++ b/docs/reference/OfflineReplayEvaluatorBandit.html @@ -69,7 +69,7 @@ contextual - 0.9.8.1 + 0.9.8.2 diff --git a/docs/reference/OraclePolicy.html b/docs/reference/OraclePolicy.html index 5117239..6a59018 100644 --- a/docs/reference/OraclePolicy.html +++ b/docs/reference/OraclePolicy.html @@ -72,7 +72,7 @@ contextual - 0.9.8.1 + 0.9.8.2 diff --git a/docs/reference/Plot.html b/docs/reference/Plot.html index 6574580..c2fc125 100644 --- a/docs/reference/Plot.html +++ b/docs/reference/Plot.html @@ -69,7 +69,7 @@ contextual - 0.9.8.1 + 0.9.8.2 diff --git a/docs/reference/Policy.html b/docs/reference/Policy.html index 9459a1f..021732d 100644 --- a/docs/reference/Policy.html +++ b/docs/reference/Policy.html @@ -69,7 +69,7 @@ contextual - 0.9.8.1 + 0.9.8.2 diff --git a/docs/reference/RandomPolicy.html b/docs/reference/RandomPolicy.html index 69efdb3..2bc1df8 100644 --- a/docs/reference/RandomPolicy.html +++ b/docs/reference/RandomPolicy.html @@ -71,7 +71,7 @@ contextual - 0.9.8.1 + 0.9.8.2 @@ -242,7 +242,7 @@

Examp bandit <- BasicBernoulliBandit$new(weights = weights) agent <- Agent$new(policy, bandit) -history <- Simulator$new(agent, horizon, simulations, do_parallel = FALSE)$run()
#> Simulation horizon: 100
#> Number of simulations: 100
#> Number of batches: 1
#> Starting main loop.
#> Finished main loop.
#> Completed simulation in 0:00:00.825
#> Computing statistics.
+history <- Simulator$new(agent, horizon, simulations, do_parallel = FALSE)$run()
#> Simulation horizon: 100
#> Number of simulations: 100
#> Number of batches: 1
#> Starting main loop.
#> Finished main loop.
#> Completed simulation in 0:00:00.808
#> Computing statistics.
plot(history, type = "arms")
diff --git a/docs/reference/SoftmaxPolicy.html b/docs/reference/SoftmaxPolicy.html index 1780c49..248d99e 100644 --- a/docs/reference/SoftmaxPolicy.html +++ b/docs/reference/SoftmaxPolicy.html @@ -72,7 +72,7 @@ contextual - 0.9.8.1 + 0.9.8.2 @@ -247,7 +247,7 @@

Examp bandit <- BasicBernoulliBandit$new(weights = weights) agent <- Agent$new(policy, bandit) -history <- Simulator$new(agent, horizon, simulations, do_parallel = FALSE)$run()
#> Simulation horizon: 100
#> Number of simulations: 100
#> Number of batches: 1
#> Starting main loop.
#> Finished main loop.
#> Completed simulation in 0:00:00.933
#> Computing statistics.
+history <- Simulator$new(agent, horizon, simulations, do_parallel = FALSE)$run()
#> Simulation horizon: 100
#> Number of simulations: 100
#> Number of batches: 1
#> Starting main loop.
#> Finished main loop.
#> Completed simulation in 0:00:00.935
#> Computing statistics.
plot(history, type = "cumulative")
plot(history, type = "arms")
diff --git a/docs/reference/ThompsonSamplingPolicy.html b/docs/reference/ThompsonSamplingPolicy.html index 3bc4f4c..41cc411 100644 --- a/docs/reference/ThompsonSamplingPolicy.html +++ b/docs/reference/ThompsonSamplingPolicy.html @@ -73,7 +73,7 @@ contextual - 0.9.8.1 + 0.9.8.2 @@ -250,7 +250,7 @@

Examp bandit <- BasicBernoulliBandit$new(weights = weights) agent <- Agent$new(policy, bandit) -history <- Simulator$new(agent, horizon, simulations, do_parallel = FALSE)$run()
#> Simulation horizon: 100
#> Number of simulations: 100
#> Number of batches: 1
#> Starting main loop.
#> Finished main loop.
#> Completed simulation in 0:00:01.434
#> Computing statistics.
+history <- Simulator$new(agent, horizon, simulations, do_parallel = FALSE)$run()
#> Simulation horizon: 100
#> Number of simulations: 100
#> Number of batches: 1
#> Starting main loop.
#> Finished main loop.
#> Completed simulation in 0:00:01.158
#> Computing statistics.
plot(history, type = "cumulative")
diff --git a/docs/reference/UCB2Policy.html b/docs/reference/UCB2Policy.html index b1947f4..401395e 100644 --- a/docs/reference/UCB2Policy.html +++ b/docs/reference/UCB2Policy.html @@ -69,7 +69,7 @@ contextual - 0.9.8.1 + 0.9.8.2 @@ -243,7 +243,7 @@

Examp bandit <- BasicBernoulliBandit$new(weights = weights) agent <- Agent$new(policy, bandit) -history <- Simulator$new(agent, horizon, simulations, do_parallel = FALSE)$run()
#> Simulation horizon: 100
#> Number of simulations: 100
#> Number of batches: 1
#> Starting main loop.
#> Finished main loop.
#> Completed simulation in 0:00:01.111
#> Computing statistics.
+history <- Simulator$new(agent, horizon, simulations, do_parallel = FALSE)$run()
#> Simulation horizon: 100
#> Number of simulations: 100
#> Number of batches: 1
#> Starting main loop.
#> Finished main loop.
#> Completed simulation in 0:00:01.108
#> Computing statistics.
plot(history, type = "cumulative")
plot(history, type = "arms")
diff --git a/docs/reference/clipr.html b/docs/reference/clipr.html index 4c95148..4b4fa66 100644 --- a/docs/reference/clipr.html +++ b/docs/reference/clipr.html @@ -70,7 +70,7 @@ contextual - 0.9.8.1 + 0.9.8.2 diff --git a/docs/reference/data_table_factors_to_numeric.html b/docs/reference/data_table_factors_to_numeric.html index c5a5f53..3c1e9ff 100644 --- a/docs/reference/data_table_factors_to_numeric.html +++ b/docs/reference/data_table_factors_to_numeric.html @@ -69,7 +69,7 @@ contextual - 0.9.8.1 + 0.9.8.2 diff --git a/docs/reference/dec-set.html b/docs/reference/dec-set.html index 8af2cce..4d68998 100644 --- a/docs/reference/dec-set.html +++ b/docs/reference/dec-set.html @@ -69,7 +69,7 @@ contextual - 0.9.8.1 + 0.9.8.2 diff --git a/docs/reference/formatted_difftime.html b/docs/reference/formatted_difftime.html index 26b06e0..9911461 100644 --- a/docs/reference/formatted_difftime.html +++ b/docs/reference/formatted_difftime.html @@ -69,7 +69,7 @@ contextual - 0.9.8.1 + 0.9.8.2 diff --git a/docs/reference/get_arm_context.html b/docs/reference/get_arm_context.html index 9f37dd5..3bb7f07 100644 --- a/docs/reference/get_arm_context.html +++ b/docs/reference/get_arm_context.html @@ -70,7 +70,7 @@ contextual - 0.9.8.1 + 0.9.8.2 diff --git a/docs/reference/get_full_context.html b/docs/reference/get_full_context.html index c0c031c..b6fa1f0 100644 --- a/docs/reference/get_full_context.html +++ b/docs/reference/get_full_context.html @@ -71,7 +71,7 @@ contextual - 0.9.8.1 + 0.9.8.2 diff --git a/docs/reference/inc-set.html b/docs/reference/inc-set.html index cbe589f..60c7315 100644 --- a/docs/reference/inc-set.html +++ b/docs/reference/inc-set.html @@ -69,7 +69,7 @@ contextual - 0.9.8.1 + 0.9.8.2 diff --git a/docs/reference/ind.html b/docs/reference/ind.html index 9e92981..e7a6df9 100644 --- a/docs/reference/ind.html +++ b/docs/reference/ind.html @@ -69,7 +69,7 @@ contextual - 0.9.8.1 + 0.9.8.2 diff --git a/docs/reference/index.html b/docs/reference/index.html index 87d786f..5606fcb 100644 --- a/docs/reference/index.html +++ b/docs/reference/index.html @@ -66,7 +66,7 @@ contextual - 0.9.8.1 + 0.9.8.2 diff --git a/docs/reference/inv.html b/docs/reference/inv.html index b03a7c2..f145662 100644 --- a/docs/reference/inv.html +++ b/docs/reference/inv.html @@ -69,7 +69,7 @@ contextual - 0.9.8.1 + 0.9.8.2 diff --git a/docs/reference/invgamma.html b/docs/reference/invgamma.html index 6600f8c..0519711 100644 --- a/docs/reference/invgamma.html +++ b/docs/reference/invgamma.html @@ -70,7 +70,7 @@ contextual - 0.9.8.1 + 0.9.8.2 diff --git a/docs/reference/invlogit.html b/docs/reference/invlogit.html index 25ce564..72df193 100644 --- a/docs/reference/invlogit.html +++ b/docs/reference/invlogit.html @@ -69,7 +69,7 @@ contextual - 0.9.8.1 + 0.9.8.2 diff --git a/docs/reference/is_rstudio.html b/docs/reference/is_rstudio.html index 52f3222..faf1d26 100644 --- a/docs/reference/is_rstudio.html +++ b/docs/reference/is_rstudio.html @@ -69,7 +69,7 @@ contextual - 0.9.8.1 + 0.9.8.2 diff --git a/docs/reference/mvrnorm.html b/docs/reference/mvrnorm.html index b4fc802..73e32b3 100644 --- a/docs/reference/mvrnorm.html +++ b/docs/reference/mvrnorm.html @@ -70,7 +70,7 @@ contextual - 0.9.8.1 + 0.9.8.2 diff --git a/docs/reference/one_hot.html b/docs/reference/one_hot.html index b7b4c23..91903ce 100644 --- a/docs/reference/one_hot.html +++ b/docs/reference/one_hot.html @@ -69,7 +69,7 @@ contextual - 0.9.8.1 + 0.9.8.2 diff --git a/docs/reference/ones_in_zeroes.html b/docs/reference/ones_in_zeroes.html index bc2dc5a..6540531 100644 --- a/docs/reference/ones_in_zeroes.html +++ b/docs/reference/ones_in_zeroes.html @@ -69,7 +69,7 @@ contextual - 0.9.8.1 + 0.9.8.2 diff --git a/docs/reference/plot.history.html b/docs/reference/plot.history.html index 1ef8d45..973849a 100644 --- a/docs/reference/plot.history.html +++ b/docs/reference/plot.history.html @@ -69,7 +69,7 @@ contextual - 0.9.8.1 + 0.9.8.2 diff --git a/docs/reference/print.history.html b/docs/reference/print.history.html index cc6b633..22328f3 100644 --- a/docs/reference/print.history.html +++ b/docs/reference/print.history.html @@ -69,7 +69,7 @@ contextual - 0.9.8.1 + 0.9.8.2 diff --git a/docs/reference/prob_winner.html b/docs/reference/prob_winner.html index dfb2575..ae67a4a 100644 --- a/docs/reference/prob_winner.html +++ b/docs/reference/prob_winner.html @@ -70,7 +70,7 @@ contextual - 0.9.8.1 + 0.9.8.2 diff --git a/docs/reference/sample_one_of.html b/docs/reference/sample_one_of.html index d83ccc7..647f4e7 100644 --- a/docs/reference/sample_one_of.html +++ b/docs/reference/sample_one_of.html @@ -69,7 +69,7 @@ contextual - 0.9.8.1 + 0.9.8.2 diff --git a/docs/reference/set_external.html b/docs/reference/set_external.html index 609cc02..c80f0d7 100644 --- a/docs/reference/set_external.html +++ b/docs/reference/set_external.html @@ -69,7 +69,7 @@ contextual - 0.9.8.1 + 0.9.8.2 diff --git a/docs/reference/sherman_morrisson.html b/docs/reference/sherman_morrisson.html index 9a2f91b..1d3f897 100644 --- a/docs/reference/sherman_morrisson.html +++ b/docs/reference/sherman_morrisson.html @@ -69,7 +69,7 @@ contextual - 0.9.8.1 + 0.9.8.2 diff --git a/docs/reference/sim_post.html b/docs/reference/sim_post.html index a0fe63f..8028189 100644 --- a/docs/reference/sim_post.html +++ b/docs/reference/sim_post.html @@ -71,7 +71,7 @@ contextual - 0.9.8.1 + 0.9.8.2 diff --git a/docs/reference/sum_of.html b/docs/reference/sum_of.html index ec5bd9e..64e28b8 100644 --- a/docs/reference/sum_of.html +++ b/docs/reference/sum_of.html @@ -69,7 +69,7 @@ contextual - 0.9.8.1 + 0.9.8.2 diff --git a/docs/reference/summary.history.html b/docs/reference/summary.history.html index d04b5d1..eac3448 100644 --- a/docs/reference/summary.history.html +++ b/docs/reference/summary.history.html @@ -69,7 +69,7 @@ contextual - 0.9.8.1 + 0.9.8.2 diff --git a/docs/reference/value_remaining.html b/docs/reference/value_remaining.html index 9bef1f1..fb4ab2c 100644 --- a/docs/reference/value_remaining.html +++ b/docs/reference/value_remaining.html @@ -70,7 +70,7 @@ contextual - 0.9.8.1 + 0.9.8.2 diff --git a/docs/reference/var_welford.html b/docs/reference/var_welford.html index 3911c1f..e009531 100644 --- a/docs/reference/var_welford.html +++ b/docs/reference/var_welford.html @@ -71,7 +71,7 @@ contextual - 0.9.8.1 + 0.9.8.2 diff --git a/docs/reference/which_max_list.html b/docs/reference/which_max_list.html index 5e5725d..c5c0d4c 100644 --- a/docs/reference/which_max_list.html +++ b/docs/reference/which_max_list.html @@ -69,7 +69,7 @@ contextual - 0.9.8.1 + 0.9.8.2 diff --git a/docs/reference/which_max_tied.html b/docs/reference/which_max_tied.html index d106770..6a166ea 100644 --- a/docs/reference/which_max_tied.html +++ b/docs/reference/which_max_tied.html @@ -69,7 +69,7 @@ contextual - 0.9.8.1 + 0.9.8.2