Skip to content

Commit

Permalink
Update pce_cross_validation.rst.
Browse files Browse the repository at this point in the history
  • Loading branch information
mbaudin47 committed Jul 1, 2023
1 parent 79401af commit a2938eb
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion python/doc/theory/meta_modeling/pce_cross_validation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,13 @@ then the fast methods presented in :ref:`cross_validation` can be applied:
Fast methods are implemented in :class:`~openturns.FunctionalChaosValidation`.

If model selection is used (such as :class:`LARS`), then only the active
functions in the basis must be used.
functions in the basis from the training step must be used.
Indeed, with naive cross-validation, the selection method may consider different
active bases.
The fast method, on the other hand, only consider the active basis which is the
result of the training step.
If the selection method is not stable in the cross-validation method, then
the results with the naive and fast cross-validation methods may be different.

.. topic:: API:

Expand Down

0 comments on commit a2938eb

Please sign in to comment.