I’m working on a project with Polynomial Chaos Expansion (PCE) using UQLab in Python. I’ve built my PCE model, but I’m stuck on how to get the error estimates from the analysis.

In the MATLAB version of UQLab, I understand that the error estimates can be accessed through the `myPCE.Error`

field, which includes:

- Leave-One-Out (LOO) error (
`.LOO`

) - Modified Leave-One-Out error (
`.ModifiedLOO`

) - Normalized Empirical Error (
`.normEmpError`

) - Validation error (
`.Val`

), if a validation set is provided

How can I do this in Python?