Skip to content

Commit

Permalink
Project import generated by Copybara.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 277202793
  • Loading branch information
RecSim Team authored and cwhsu-google committed Oct 29, 2019
1 parent 3613bfc commit c77b15a
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ You could also find the simulated logs in /tmp/recsim/episode_logs.tfrecord
## Tutorials

To get started, please check out our Colab tutorials. In [**RecSim:
Overview**](recsim/recsim/colab/RecSim_Overview.ipynb), we give a brief overview about
Overview**](recsim/colab/RecSim_Overview.ipynb), we give a brief overview about
RecSim. We then talk about each configurable component:
[**environment**](recsim/recsim/colab/RecSim_Developing_an_Environment.ipynb) and
[**recommender agent**](recsim/recsim/colab/RecSim_Developing_an_Agent.ipynb).
[**environment**](recsim/colab/RecSim_Developing_an_Environment.ipynb) and
[**recommender agent**](recsim/colab/RecSim_Developing_an_Agent.ipynb).

## Documentation

Expand Down
4 changes: 2 additions & 2 deletions recsim/colab/RecSim_Developing_an_Agent.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"source": [
"# Basics\n",
"\n",
"![Detailed view of RecSim](https://github.com/google-research/recsim/blob/master/recsim/recsim/colab/figures/recsim_architecture_agent_centered.png?raw=true)\n",
"![Detailed view of RecSim](https://github.com/google-research/recsim/blob/master/recsim/colab/figures/recsim_architecture_agent_centered.png?raw=true)\n",
"To start unpacking the functionality of a RecSim agent, we once again refer to the structural diagram. Here's what we discern from it on first pass -- an agent is meant to consume:\n",
"* observations about the user's state,\n",
"* observations about the user's response to a recommendation,\n",
Expand Down Expand Up @@ -580,7 +580,7 @@
},
"source": [
"## Hierarchical agent layers\n",
"![Hierarchical agent architecture](https://github.com/google-research/recsim/blob/master/recsim/recsim/colab/figures/agent_architecture.png?raw=true)\n",
"![Hierarchical agent architecture](https://github.com/google-research/recsim/blob/master/recsim/colab/figures/agent_architecture.png?raw=true)\n",
"\n",
"A hierarchical agent layer does not materialize a slate of documents, but relies on one or more base agents to do so. The hierarchical agent architecture in RecSim can roughly be described follows:\n",
"* a hierarchical agent layer receives an observationand reward from the environment; it preprocesses the raw observation and passes it to one or more base agents.\n",
Expand Down
6 changes: 3 additions & 3 deletions recsim/colab/RecSim_Developing_an_Environment.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"# Developing an Environment\n",
"\n",
"In the [last tutorial](RecSim_Overview.ipynb), we went over the high-level ideas and basics of using RecSim for training and evaluation of a recommender agent. While agent development is an important use case of RecSim, simulation environments are first-class citizens too! The simulation of novel and difficult recommendation system tasks is important in and of itself. In this tutorial we will break a RecSim environment down into its basic components. \n",
"![Detailed view of RecSim](https://github.com/google-research/recsim/blob/master/recsim/recsim/colab/figures/simulator.png?raw=true)\n",
"![Detailed view of RecSim](https://github.com/google-research/recsim/blob/master/recsim/colab/figures/simulator.png?raw=true)\n",
"\n",
"The green and blue blocks in the above diagram constitute the classes that need to be implemented within a RecSim environment. The goal of this tutorial is to explain the purpose of these blocks and how they come together in a simulation. In the process, we will go over an example end-to-end implementation.\n",
"\n"
Expand Down Expand Up @@ -753,7 +753,7 @@
"source": [
"## Recap\n",
"Before we conclude, let's take a second to recap everything we've done so far. The diagram below maps all the classes we've implemented/imported from RecSim to the functional diagram of RecSim.\n",
"![RecSim implementation](https://github.com/google-research/recsim/blob/master/recsim/recsim/colab/figures/simulator_implemented.png?raw=true)\n",
"![RecSim implementation](https://github.com/google-research/recsim/blob/master/recsim/colab/figures/simulator_implemented.png?raw=true)\n",
"\n"
]
},
Expand Down Expand Up @@ -901,7 +901,7 @@
"colab": {
"collapsed_sections": [],
"last_runtime": {
"build_target": "//research/recsim/colab/notebook:notebook_backend_py3",
"build_target": "//research/colab/notebook:notebook_backend_py3",
"kind": "private"
},
"name": "RecSim: Developing an Environment.ipynb",
Expand Down
2 changes: 1 addition & 1 deletion recsim/colab/RecSim_Overview.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"\n",
"\n",
"\n",
"![RecSim at a glance](https://github.com/google-research/recsim/blob/master/recsim/recsim/colab/figures/recsim_at_a_glance.png?raw=true)\n",
"![RecSim at a glance](https://github.com/google-research/recsim/blob/master/recsim/colab/figures/recsim_at_a_glance.png?raw=true)\n",
"\n",
"\n",
"\n",
Expand Down

0 comments on commit c77b15a

Please sign in to comment.