class_docstr: Univariate density estimation by orthonormal series expansion
  
  
  Uses an orthonormal polynomial basis to approximate a univariate density.
  
  
  currently all arguments can be given to fit, I might change it to requiring
  arguments in __init__ instead.
class_docstr_tok: ["Univariate","density","estimation","by","orthonormal","series","expansion","Uses","an","orthonormal","polynomial","basis","to","approximate","a","univariate","density",".","currently","all","arguments","can","be","given","to","fit",",","I","might","change","it","to","requiring","arguments","in","__init__","instead","."]
code: def evaluate(self, xeval, order=None):
      xeval = self._transform(xeval)
      if order is None:
          order = len(self.polys)
      res = sum(
          c * p(xeval)
          for c, p in list(zip(self.coeffs, self.polys))[:order]
      )
      res = self._correction(res)
      return res
  
imports: from scipy import stats, integrate, special
  import numpy
label_desc: Use image node_id 3 for calling the DensityOrthoPoly obj's underlying member method code with example usage: obj.evaluate(xeval, order) and returns: res