From 976f29f2d0e0dece51a196822537c52c790409f2 Mon Sep 17 00:00:00 2001 From: Jeremiah <4462211+jeremiahpslewis@users.noreply.github.com> Date: Thu, 27 Oct 2022 11:57:28 +0200 Subject: [PATCH] Drop 'dev' style package import --- notebooks/Chapter01_Tic_Tac_Toe.jl | 6 +----- notebooks/Chapter02_Ten_Armed_Testbed.jl | 6 +----- notebooks/Chapter03_Grid_World.jl | 2 -- notebooks/Chapter04_Car_Rental.jl | 2 -- notebooks/Chapter04_Gambler_Problem.jl | 2 -- notebooks/Chapter04_Grid_World.jl | 2 -- notebooks/Chapter05_Blackjack.jl | 2 -- notebooks/Chapter05_Left_Right.jl | 2 -- notebooks/Chapter06_Cliff_Walking.jl | 2 -- notebooks/Chapter06_Maximization_Bias.jl | 2 -- notebooks/Chapter06_RandomWalk.jl | 2 -- notebooks/Chapter06_Windy_Grid_World.jl | 2 -- notebooks/Chapter07_Random_Walk.jl | 2 -- notebooks/Chapter08_Expectation_VS_Sample.jl | 2 -- notebooks/Chapter08_Maze.jl | 6 +----- notebooks/Chapter08_Trajectory_Sampling.jl | 2 -- notebooks/Chapter09_Random_Walk.jl | 2 -- notebooks/Chapter10_Access_Control.jl | 2 -- notebooks/Chapter10_Mountain_Car.jl | 2 -- notebooks/Chapter11_Counter_Example.jl | 2 -- notebooks/Chapter12_Random_Walk.jl | 2 -- notebooks/Chapter13_Short_Corridor.jl | 2 -- 22 files changed, 3 insertions(+), 53 deletions(-) diff --git a/notebooks/Chapter01_Tic_Tac_Toe.jl b/notebooks/Chapter01_Tic_Tac_Toe.jl index d8228cd..0161b0e 100644 --- a/notebooks/Chapter01_Tic_Tac_Toe.jl +++ b/notebooks/Chapter01_Tic_Tac_Toe.jl @@ -5,11 +5,7 @@ using Markdown using InteractiveUtils # ╔═╡ 9b8c8d1a-481e-11eb-1b85-91264e100b12 -begin - import Pkg - Pkg.activate(Base.current_project()) - using ReinforcementLearning -end +using ReinforcementLearning # ╔═╡ 7441759c-4853-11eb-3d63-2be1f95f59fe using Plots diff --git a/notebooks/Chapter02_Ten_Armed_Testbed.jl b/notebooks/Chapter02_Ten_Armed_Testbed.jl index 9f3c6d5..80963e1 100644 --- a/notebooks/Chapter02_Ten_Armed_Testbed.jl +++ b/notebooks/Chapter02_Ten_Armed_Testbed.jl @@ -5,11 +5,7 @@ using Markdown using InteractiveUtils # ╔═╡ dab179ae-4a5a-11eb-317c-c7fa9d9ccf8f -begin - import Pkg - Pkg.activate(Base.current_project()) - using ReinforcementLearning -end +using ReinforcementLearning # ╔═╡ 109c4fb2-4a5b-11eb-08d5-bd6b1eb0ebe9 using Plots diff --git a/notebooks/Chapter03_Grid_World.jl b/notebooks/Chapter03_Grid_World.jl index 88e8203..1188871 100644 --- a/notebooks/Chapter03_Grid_World.jl +++ b/notebooks/Chapter03_Grid_World.jl @@ -6,8 +6,6 @@ using InteractiveUtils # ╔═╡ bd94028c-5d8e-11eb-22b6-5fa384999fdb begin - import Pkg - Pkg.activate(Base.current_project()) using ReinforcementLearning using Flux using Statistics diff --git a/notebooks/Chapter04_Car_Rental.jl b/notebooks/Chapter04_Car_Rental.jl index 684a3ce..708eb1b 100644 --- a/notebooks/Chapter04_Car_Rental.jl +++ b/notebooks/Chapter04_Car_Rental.jl @@ -6,8 +6,6 @@ using InteractiveUtils # ╔═╡ 92081fb8-5d90-11eb-2078-ddbf87421051 begin - import Pkg - Pkg.activate(Base.current_project()) using ReinforcementLearning using Flux using Statistics diff --git a/notebooks/Chapter04_Gambler_Problem.jl b/notebooks/Chapter04_Gambler_Problem.jl index 22e2783..2cb0282 100644 --- a/notebooks/Chapter04_Gambler_Problem.jl +++ b/notebooks/Chapter04_Gambler_Problem.jl @@ -6,8 +6,6 @@ using InteractiveUtils # ╔═╡ f5cc0f04-5d99-11eb-3abe-bf3fccdac9e6 begin - import Pkg - Pkg.activate(Base.current_project()) using ReinforcementLearning using Flux using Statistics diff --git a/notebooks/Chapter04_Grid_World.jl b/notebooks/Chapter04_Grid_World.jl index f6ac584..4651824 100644 --- a/notebooks/Chapter04_Grid_World.jl +++ b/notebooks/Chapter04_Grid_World.jl @@ -6,8 +6,6 @@ using InteractiveUtils # ╔═╡ 604afcfc-5d9d-11eb-0e2d-4971e8c87824 begin - import Pkg - Pkg.activate(Base.current_project()) using ReinforcementLearning using Flux using Statistics diff --git a/notebooks/Chapter05_Blackjack.jl b/notebooks/Chapter05_Blackjack.jl index a607b8f..2a50b53 100644 --- a/notebooks/Chapter05_Blackjack.jl +++ b/notebooks/Chapter05_Blackjack.jl @@ -6,8 +6,6 @@ using InteractiveUtils # ╔═╡ 2697620e-5e5e-11eb-3568-ab2248561ebd begin - import Pkg - Pkg.activate(Base.current_project()) using ReinforcementLearning using Flux using Statistics diff --git a/notebooks/Chapter05_Left_Right.jl b/notebooks/Chapter05_Left_Right.jl index 70ccea9..3f56075 100644 --- a/notebooks/Chapter05_Left_Right.jl +++ b/notebooks/Chapter05_Left_Right.jl @@ -6,8 +6,6 @@ using InteractiveUtils # ╔═╡ 1f43297c-5e20-11eb-1ce3-5b75c0b5c368 begin - import Pkg - Pkg.activate(Base.current_project()) using ReinforcementLearning using Flux using Statistics diff --git a/notebooks/Chapter06_Cliff_Walking.jl b/notebooks/Chapter06_Cliff_Walking.jl index 0a2c3d5..620c66f 100644 --- a/notebooks/Chapter06_Cliff_Walking.jl +++ b/notebooks/Chapter06_Cliff_Walking.jl @@ -6,8 +6,6 @@ using InteractiveUtils # ╔═╡ 03c25682-4e46-11eb-1b97-33699faa080f begin - import Pkg - Pkg.activate(Base.current_project()) using ReinforcementLearning using Plots using Flux diff --git a/notebooks/Chapter06_Maximization_Bias.jl b/notebooks/Chapter06_Maximization_Bias.jl index b63f324..15c7cd6 100644 --- a/notebooks/Chapter06_Maximization_Bias.jl +++ b/notebooks/Chapter06_Maximization_Bias.jl @@ -6,8 +6,6 @@ using InteractiveUtils # ╔═╡ 9edb35ce-4ea7-11eb-353f-53459c337880 begin - import Pkg - Pkg.activate(Base.current_project()) using ReinforcementLearning using Statistics using Flux diff --git a/notebooks/Chapter06_RandomWalk.jl b/notebooks/Chapter06_RandomWalk.jl index 10aac62..bccf412 100644 --- a/notebooks/Chapter06_RandomWalk.jl +++ b/notebooks/Chapter06_RandomWalk.jl @@ -6,8 +6,6 @@ using InteractiveUtils # ╔═╡ 741ec564-51c8-11eb-178d-3d5e49c0e174 begin - import Pkg - Pkg.activate(Base.current_project()) using ReinforcementLearning using Flux using Statistics diff --git a/notebooks/Chapter06_Windy_Grid_World.jl b/notebooks/Chapter06_Windy_Grid_World.jl index d1f1f2b..f678a0e 100644 --- a/notebooks/Chapter06_Windy_Grid_World.jl +++ b/notebooks/Chapter06_Windy_Grid_World.jl @@ -6,8 +6,6 @@ using InteractiveUtils # ╔═╡ d9097a02-51d0-11eb-304e-cb6b5940b4c7 begin - import Pkg - Pkg.activate(Base.current_project()) using ReinforcementLearning using Flux diff --git a/notebooks/Chapter07_Random_Walk.jl b/notebooks/Chapter07_Random_Walk.jl index 6fcafd3..0de80d9 100644 --- a/notebooks/Chapter07_Random_Walk.jl +++ b/notebooks/Chapter07_Random_Walk.jl @@ -6,8 +6,6 @@ using InteractiveUtils # ╔═╡ 94075d98-522a-11eb-00bd-8709e96862e9 begin - import Pkg - Pkg.activate(Base.current_project()) using ReinforcementLearning using Statistics using Flux diff --git a/notebooks/Chapter08_Expectation_VS_Sample.jl b/notebooks/Chapter08_Expectation_VS_Sample.jl index c9c6d8c..96f6ab0 100644 --- a/notebooks/Chapter08_Expectation_VS_Sample.jl +++ b/notebooks/Chapter08_Expectation_VS_Sample.jl @@ -6,8 +6,6 @@ using InteractiveUtils # ╔═╡ d80342ae-522b-11eb-19c0-cf931fb4ae81 begin - import Pkg - Pkg.activate(Base.current_project()) using Statistics end diff --git a/notebooks/Chapter08_Maze.jl b/notebooks/Chapter08_Maze.jl index d1b1d78..f2731cf 100644 --- a/notebooks/Chapter08_Maze.jl +++ b/notebooks/Chapter08_Maze.jl @@ -5,11 +5,7 @@ using Markdown using InteractiveUtils # ╔═╡ 4a40583e-5993-11eb-3121-0319695416d3 -begin - import Pkg - Pkg.activate(Base.current_project()) - using ReinforcementLearning -end +using ReinforcementLearning # ╔═╡ 98ff088e-5994-11eb-1b32-d928c49e8466 using Flux diff --git a/notebooks/Chapter08_Trajectory_Sampling.jl b/notebooks/Chapter08_Trajectory_Sampling.jl index 102f954..8dc82da 100644 --- a/notebooks/Chapter08_Trajectory_Sampling.jl +++ b/notebooks/Chapter08_Trajectory_Sampling.jl @@ -6,8 +6,6 @@ using InteractiveUtils # ╔═╡ 4b149ad2-5bca-11eb-0104-0be8dd786177 begin - import Pkg - Pkg.activate(Base.current_project()) using ReinforcementLearning using Flux using Statistics diff --git a/notebooks/Chapter09_Random_Walk.jl b/notebooks/Chapter09_Random_Walk.jl index d333c9f..e39fd7e 100644 --- a/notebooks/Chapter09_Random_Walk.jl +++ b/notebooks/Chapter09_Random_Walk.jl @@ -6,8 +6,6 @@ using InteractiveUtils # ╔═╡ 9cd5e7cc-5c6c-11eb-3485-011143087d8d begin - import Pkg - Pkg.activate(Base.current_project()) using ReinforcementLearning using Flux using Statistics diff --git a/notebooks/Chapter10_Access_Control.jl b/notebooks/Chapter10_Access_Control.jl index 5911f7c..b6e42de 100644 --- a/notebooks/Chapter10_Access_Control.jl +++ b/notebooks/Chapter10_Access_Control.jl @@ -6,8 +6,6 @@ using InteractiveUtils # ╔═╡ 970efd92-5c85-11eb-180e-d508223139fe begin - import Pkg - Pkg.activate(Base.current_project()) using ReinforcementLearning using Flux using Statistics diff --git a/notebooks/Chapter10_Mountain_Car.jl b/notebooks/Chapter10_Mountain_Car.jl index 2482fd2..503e24a 100644 --- a/notebooks/Chapter10_Mountain_Car.jl +++ b/notebooks/Chapter10_Mountain_Car.jl @@ -6,8 +6,6 @@ using InteractiveUtils # ╔═╡ c2e4a0d0-5cae-11eb-199f-3b8bc7ca4867 begin - import Pkg - Pkg.activate(Base.current_project()) using ReinforcementLearning using Flux using Statistics diff --git a/notebooks/Chapter11_Counter_Example.jl b/notebooks/Chapter11_Counter_Example.jl index 3569d0b..ddb4c76 100644 --- a/notebooks/Chapter11_Counter_Example.jl +++ b/notebooks/Chapter11_Counter_Example.jl @@ -6,8 +6,6 @@ using InteractiveUtils # ╔═╡ 973169b2-5cb5-11eb-2c27-8115e5bfec1f begin - import Pkg - Pkg.activate(Base.current_project()) using ReinforcementLearning using Flux using Statistics diff --git a/notebooks/Chapter12_Random_Walk.jl b/notebooks/Chapter12_Random_Walk.jl index f716ccf..eab4ce6 100644 --- a/notebooks/Chapter12_Random_Walk.jl +++ b/notebooks/Chapter12_Random_Walk.jl @@ -6,8 +6,6 @@ using InteractiveUtils # ╔═╡ 41d2dbc6-5d31-11eb-12d5-d9c5db4e22c0 begin - import Pkg - Pkg.activate(Base.current_project()) using ReinforcementLearning using Flux using Statistics diff --git a/notebooks/Chapter13_Short_Corridor.jl b/notebooks/Chapter13_Short_Corridor.jl index 8c4335a..789e41a 100644 --- a/notebooks/Chapter13_Short_Corridor.jl +++ b/notebooks/Chapter13_Short_Corridor.jl @@ -6,8 +6,6 @@ using InteractiveUtils # ╔═╡ a0c988de-f84c-11ec-3cb2-55683572ae09 begin - import Pkg - Pkg.activate(Base.current_project()) using ReinforcementLearning using Flux using Statistics