999d2ff75431496c25c7967b990e6b7fc09bb858,chaospy/spectral.py,,fit_quadrature,#Any#Any#Any#Any#Any#Any#,84
Before Change
if norms is None:
norms = numpy.sum(ovals**2*weights, -1)
else:
norms = numpy.array(norms).flatten()
coefs = (numpy.sum(vals1, 1).T/norms).T
coefs = coefs.reshape(len(coefs), *shape[1:])
approx_model = numpoly.sum(orth*coefs.T, -1).T
After Change
if norms is None:
norms = numpy.sum(ovals**2*weights, -1)
norms = numpy.asfarray(norms)
assert norms.ndim == 1
coeffs = (numpy.sum(vals1, 1).T/norms).T
coeffs = coeffs.reshape(len(coeffs), *shape)
approx_model = numpoly.sum(orth*coeffs.T, -1).T
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 3
Instances
Project Name: jonathf/chaospy
Commit Name: 999d2ff75431496c25c7967b990e6b7fc09bb858
Time: 2020-11-03
Author: jonathf@users.noreply.github.com
File Name: chaospy/spectral.py
Class Name:
Method Name: fit_quadrature
Project Name: scipy/scipy
Commit Name: 4c08f6a92d547a3308164499ec92d35254ed1da5
Time: 2017-02-24
Author: philip_deboer@scotiacapital.com
File Name: scipy/stats/tests/test_multivariate.py
Class Name: TestUnitaryGroup
Method Name: test_haar
Project Name: freelunchtheorem/Conditional_Density_Estimation
Commit Name: aa50234c0e3854567214a3109188ee9bedc33551
Time: 2019-01-18
Author: jonas.rothfuss@gmx.de
File Name: cde/BaseConditionalDensity.py
Class Name: ConditionalDensity
Method Name: _conditional_value_at_risk_mc_pdf
Project Name: tensorflow/transform
Commit Name: 63455151483578a69b75197c2f7d880ff89a96a2
Time: 2020-04-24
Author: tf-transform-dev@google.com
File Name: tensorflow_transform/beam/impl.py
Class Name: _RunMetaGraphDoFn
Method Name: _get_passthrough_data_from_recordbatch