From f30c9e933f10859fb6c6792e516bc27523a50d6d Mon Sep 17 00:00:00 2001 From: Hu Zhao <zhao@mbd.rwth-aachen.de> Date: Tue, 13 Dec 2022 16:14:31 +0100 Subject: [PATCH] docs: turn reminder to a note --- docs/examples/emulator/robustgasp/plot_ppgasp.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/examples/emulator/robustgasp/plot_ppgasp.py b/docs/examples/emulator/robustgasp/plot_ppgasp.py index 517dd88..39a88a6 100644 --- a/docs/examples/emulator/robustgasp/plot_ppgasp.py +++ b/docs/examples/emulator/robustgasp/plot_ppgasp.py @@ -20,8 +20,7 @@ PPGaSP: GP emulation for multi-output functions # and :math:`\mathbf{y}=(y_1,\ldots,y_5)^T`. # # The training and testing data are provided in the folder '.../tests/data/'. -# We first load the training and testing data. You may need to modify ``dir_data``` -# according to where you save them. +# We first load the training and testing data. import numpy as np import os @@ -38,6 +37,10 @@ humanityXt = np.genfromtxt(os.path.join(dir_data, 'humanityXt.csv'), delimiter=' humanityYt = np.genfromtxt(os.path.join(dir_data, 'humanityYt.csv'), delimiter=',') print(f"Number of testing data points: ", humanityXt.shape[0]) +# %% md +# .. note:: You may need to modify ``dir_data`` according to where you save them +# on your local machine. + # %% md # ``humanityX`` and ``humanitY`` are the training data, corresponding to ``design`` # and ``response`` respectively. ``humanityXt`` are testing input data, at which -- GitLab