bayesvalidrox.surrogate_models.eval_rec_rule.eval_rec_rule_arbitrary¶
- bayesvalidrox.surrogate_models.eval_rec_rule.eval_rec_rule_arbitrary(x, max_deg, poly_coeffs)¶
Evaluates the polynomial at sample array x.
Parameters¶
- xarray (n_samples)
Points where the polynomials are evaluated.
- max_degint
Maximum degree.
- poly_coeffsdict
Polynomial coefficients computed based on moments.
Returns¶
- valuesarray of shape (n_samples, max_deg+1)
Univariate Polynomials evaluated at samples.