diff --git a/examples/Using-the-Data-Recorders.ipynb b/examples/Using-the-Data-Recorders.ipynb index 11273b8..0283a6e 100644 --- a/examples/Using-the-Data-Recorders.ipynb +++ b/examples/Using-the-Data-Recorders.ipynb @@ -123,7 +123,13 @@ "source": [ "## Create Model and Prepare Recording\n", "\n", - "Before we train, we need to create a model and prepare the recorders. In this time, we add data and a model to the recorders. Note, any data can be added to the recorders here, even validation data." + "Before we train, we need to create a model and prepare the recorders. \n", + "\n", + "When creating the recorders, we defined the intervals and properties we want to record.\n", + "Here, in the `instantiation` method, we give the recorders data and the functions it needs for recording.\n", + "\n", + "The example below shows that the train recorder gets the train data and the test recorder gets the test data, however, both recorders get the same model, as they operate on the same model.\n", + "Note, any data can be added to the recorders here, even validation data.\n" ] }, { @@ -273,22 +279,22 @@ { "cell_type": "code", "execution_count": null, - "id": "2e1c46e2", + "id": "cdd81a2b-0170-4bd7-8a47-eb255092c767", "metadata": {}, "outputs": [], "source": [ - "train_recorder.load()['loss'].shape" + "train_recorder.store()\n", + "test_recorder.store()" ] }, { "cell_type": "code", "execution_count": null, - "id": "cdd81a2b-0170-4bd7-8a47-eb255092c767", + "id": "2e1c46e2", "metadata": {}, "outputs": [], "source": [ - "train_recorder.store()\n", - "test_recorder.store()" + "train_recorder.load()['loss'].shape" ] } ],