Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
54fb5f7
code for nadaraya watson
TimotheeMathieu Mar 21, 2025
e9c907c
remove dependency scikit-fda
TimotheeMathieu Mar 21, 2025
d30e4b0
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Mar 21, 2025
e36da55
remove unused deps
TimotheeMathieu Mar 21, 2025
9f1601b
Merge branch 'smoothing' of https://github.com/TimotheeMathieu/rlberr…
TimotheeMathieu Mar 21, 2025
dd4f0c4
fix bandwidth heuristic
TimotheeMathieu Mar 23, 2025
ad079b2
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Mar 23, 2025
025caef
remove unused import
TimotheeMathieu Mar 23, 2025
4b4e2c7
Merge branch 'smoothing' of https://github.com/TimotheeMathieu/rlberr…
TimotheeMathieu Mar 23, 2025
31c45bf
return smoothed data
TimotheeMathieu Mar 24, 2025
6886167
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Mar 24, 2025
4731faf
fix flake8
TimotheeMathieu Mar 24, 2025
0478f7c
test more
TimotheeMathieu Mar 24, 2025
96f127f
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Mar 24, 2025
faf5998
fix typo handling data df
TimotheeMathieu Mar 26, 2025
f0fdfdd
change plot function names and remove ref to scikit-fda
TimotheeMathieu Apr 29, 2025
4a83f60
Merge branch 'smoothing' of https://github.com/TimotheeMathieu/rlberr…
TimotheeMathieu Apr 29, 2025
cf58449
fix test plots
TimotheeMathieu Apr 29, 2025
df661ec
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Apr 29, 2025
fccb79b
fix tests
TimotheeMathieu Apr 29, 2025
188affe
Merge branch 'smoothing' of https://github.com/TimotheeMathieu/rlberr…
TimotheeMathieu Apr 29, 2025
f685f27
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Apr 29, 2025
d10476c
fix n_simu non sequential bug
TimotheeMathieu Apr 30, 2025
7b8d262
Merge branch 'smoothing' of https://github.com/TimotheeMathieu/rlberr…
TimotheeMathieu Apr 30, 2025
9dd4a65
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Apr 30, 2025
9ff65dd
fix bug not same size
TimotheeMathieu Apr 30, 2025
7be93a4
Merge branch 'smoothing' of https://github.com/TimotheeMathieu/rlberr…
TimotheeMathieu Apr 30, 2025
447bed0
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Apr 30, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ Evaluation and plot
manager.evaluate_agents
manager.read_writer_data
manager.plot_writer_data
manager.plot_smoothed_curves
manager.plot_synchronized_curves
manager.plot_curves_smoothed_NW
manager.plot_curves_with_same_x
manager.compare_agents

manager.tensorboard_to_dataframe
Expand Down
2 changes: 1 addition & 1 deletion docs/basics/quick_start_rl/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ iteration, the environment takes 100 steps (`horizon`) times the



Finally, we plot the reward. Here you can see the mean value over the 10 fitted agent, with 2 options (raw and smoothed). Note that, to be able to see the smoothed version, you must have installed the extra package `scikit-fda`, (For more information, you can check the options on the [install page](../../installation.md#options)).
Finally, we plot the reward. Here you can see the mean value over the 10 fitted agent, with 2 options (raw and smoothed).

```python
# Plot of the reward.
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ stable-baselines3 = {version=">=2.4.1", optional=true}
tensorboard = {version="*", optional=true}
torch = {version=">=2.3", optional=true}
pandas = "*"
scikit-fda = {git = "https://github.com/GAA-UAM/scikit-fda.git", branch = "develop", optional=true}
nox = {version="*", optional=true}
sphinx = {version="6.2.1", optional=true}
sphinx-gallery = { version= "^0.14.0", optional=true}
Expand Down
2 changes: 1 addition & 1 deletion rlberry/manager/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from .multiple_managers import MultipleManagers
from .evaluation import evaluate_agents, read_writer_data
from .comparison import compare_agents, AdastopComparator
from .plotting import plot_smoothed_curves, plot_writer_data, plot_synchronized_curves
from .plotting import plot_curves_smoothed_NW, plot_writer_data, plot_curves_with_same_x
from .env_tools import with_venv, run_venv_xp
from .utils import tensorboard_to_dataframe

Expand Down
Loading