-
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Hi, Lets-plot is best suited for series of observations rather than lists of values. In your case one observation would consist of the following valued: 't (step)', 'mean reward', 'epsilon'. What you need is to combine your data into one 'dataframe' to form the series of observations. Then you add just one
Better if "epsilon" column contained strings (not numbers), because in this case a "discrete" color scale will be automatically selectd. |
Beta Was this translation helpful? Give feedback.
-
You might want to take a look at this resource ggplot2: Elegant Graphics for Data Analysis. Specifically:
|
Beta Was this translation helpful? Give feedback.
-
Dear Igor, Just for others who come here with a similar question, this is what I ended up doing:
|
Beta Was this translation helpful? Give feedback.
Dear Igor,
thanks for the hints. It works!
Just for others who come here with a similar question, this is what I ended up doing:
(learnEpsilonGreedy returns a list of "mean reward" values)