Skip to content
Snippets Groups Projects
Commit 678f11e1 authored by Hu Zhao's avatar Hu Zhao
Browse files

docs: add info about noisy data

parent da2f743a
Branches
No related tags found
No related merge requests found
...@@ -105,3 +105,14 @@ plt.xlabel('x') ...@@ -105,3 +105,14 @@ plt.xlabel('x')
plt.ylabel('emulator-predicted y') plt.ylabel('emulator-predicted y')
plt.xlim(testing_input[0], testing_input[-1]) plt.xlim(testing_input[0], testing_input[-1])
_ = plt.legend() _ = plt.legend()
# %% md
#
# Above example shows how to train a GP emulator based on noise-free training data,
# which is often the case of emulating a deterministic simulator. If you are dealing
# with noisy training data, you can
#
# - set the parameter ``nugget`` to a desired value, or
# - set ``nugget`` to :math:`0` and ``nugget_est`` to `True`, meaning that ``nugget``
# is estimated from the noisy training data.
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment