From fbf72653195cab01d27bace2063f1fcdedf4166c Mon Sep 17 00:00:00 2001 From: Nick Thompson Date: Tue, 28 May 2024 16:56:57 -0700 Subject: [PATCH] Document example with less expensive parameters The documentation for RMTC uses `num_elements=20`. In Issue #574, it is shown that the training time is exponential in `num_elements`. Hence using copy-paste from the example can blow up the compute time. Reduce `num_elements` in the example so that users are less likely to hit this exponential behavior. --- doc/_src_docs/surrogate_models/rmts.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/_src_docs/surrogate_models/rmts.rst b/doc/_src_docs/surrogate_models/rmts.rst index 21cc0e471..548e4ac97 100644 --- a/doc/_src_docs/surrogate_models/rmts.rst +++ b/doc/_src_docs/surrogate_models/rmts.rst @@ -204,7 +204,7 @@ Usage (RMTC) sm = RMTC( xlimits=xlimits, - num_elements=20, + num_elements=6, energy_weight=1e-15, regularization_weight=0.0, )