We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following script shows the bug:
import openturns as ot d = ot.Normal(2) sample = d.getSample(20) weights = d.computePDF(sample).asPoint() ud = ot.UserDefined(sample, weights) largeSample = ud.getSample(1000000) print("rho spearman (ud) =", ud.getSpearmanCorrelation()[0, 1]) print("rho spearman (sample)=", largeSample.computeSpearmanCorrelation()[0, 1]) print("tau kendall (ud) =", ud.getKendallTau()[0, 1]) print("tau kendall (sample)=", largeSample.computeKendallTau()[0, 1])
produces
rho spearman (ud) = 0.07647699550025457 rho spearman (sample)= 0.10473985509227776 tau kendall (ud) = -1.0 tau kendall (sample)= 0.07939474309505923
run the script
1.25dev
all
from source
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What happened?
The following script shows the bug:
produces
How to reproduce the issue?
Version
1.25dev
Operating System
all
Installation media
from source
Additional Context
No response
The text was updated successfully, but these errors were encountered: