SG++-Doxygen-Documentation
|
Public Member Functions | |
def | __init__ (self, samples, bounds=None) |
def | __str__ (self) |
def | cdf (self, p, args, kws) |
def | fromJson (cls, jsonObject) |
def | getBounds (self) |
def | getDim (self) |
def | mean (self) |
def | pdf (self, p, args, kws) |
def | ppf (self, p, args, kws) |
def | rvs (self, n=1) |
def | std (self) |
def | toJson (self) |
def | var (self) |
Public Attributes | |
samples | |
Models a discrete distribution given by data
def python.uq.dists.DataDist.DataDist.__init__ | ( | self, | |
samples, | |||
bounds = None |
|||
) |
Constructor. There are some restrictions to the samples: As they represent the underlying probability, they have to be drawn iid. @param samples: numpy array (num_samples x num_dims) @param bounds: numpy array (num_dims x 2)
def python.uq.dists.DataDist.DataDist.__str__ | ( | self | ) |
References python.uq.dists.DataDist.DataDist.__bounds, python.uq.dists.Corr.Corr.__dim, python.uq.dists.DataDist.DataDist.__dim, python.uq.analysis.asgc.anova.hdmrAnalytic.HDMRAnalytic.__dim, python.learner.LearnerBuilder.LearnerBuilder.GridDescriptor.__dim, python.uq.transformation.JointTransformation.JointTransformation.__n, python.uq.estimators.MonteCarloStrategy.MonteCarloStrategy.__n, python.uq.dists.J.J.__n, python.uq.parameters.ParameterSet.ParameterSet.__n, and python.uq.parameters.ParameterBuilder.GeneralParameterBuilder.__n.
def python.uq.dists.DataDist.DataDist.cdf | ( | self, | |
p, | |||
args, | |||
kws | |||
) |
References python.uq.dists.Corr.Corr.__dim, python.uq.dists.DataDist.DataDist.__dim, python.uq.analysis.asgc.anova.hdmrAnalytic.HDMRAnalytic.__dim, python.learner.LearnerBuilder.LearnerBuilder.GridDescriptor.__dim, and python.uq.dists.DataDist.DataDist.samples.
def python.uq.dists.DataDist.DataDist.fromJson | ( | cls, | |
jsonObject | |||
) |
Restores the Beta object from the json object with its attributes. Arguments: jsonObject -- json object Return the restored UQSetting object
Referenced by python.uq.sampler.asgc.ASGCSampler.ASGCSampler.setMemento(), python.uq.learner.Learner.Learner.setMemento(), and python.uq.uq_setting.UQSetting.UQSetting.setMemento().
def python.uq.dists.DataDist.DataDist.getBounds | ( | self | ) |
References python.uq.dists.DataDist.DataDist.__bounds.
Referenced by python.uq.dists.J.J.discretize(), and python.uq.dists.Dist.Dist.l2error().
def python.uq.dists.DataDist.DataDist.getDim | ( | self | ) |
References python.uq.dists.Corr.Corr.__dim, python.uq.dists.DataDist.DataDist.__dim, python.uq.analysis.asgc.anova.hdmrAnalytic.HDMRAnalytic.__dim, and python.learner.LearnerBuilder.LearnerBuilder.GridDescriptor.__dim.
Referenced by python.uq.dists.SGDEdist.SGDEdist.__str__(), python.uq.dists.Dist.Dist.cov(), python.uq.parameters.ParameterSet.ParameterSet.extractActiveSubset(), python.uq.dists.KDEDist.KDEDist.getBandwidths(), python.uq.dists.EstimatedDist.EstimatedDist.getBounds(), and python.uq.uq_setting.UQSetting.UQSetting.getDim().
def python.uq.dists.DataDist.DataDist.mean | ( | self | ) |
def python.uq.dists.DataDist.DataDist.pdf | ( | self, | |
p, | |||
args, | |||
kws | |||
) |
References python.uq.transformation.JointTransformation.JointTransformation.__n, python.uq.estimators.MonteCarloStrategy.MonteCarloStrategy.__n, python.uq.dists.J.J.__n, python.uq.parameters.ParameterSet.ParameterSet.__n, python.uq.parameters.ParameterBuilder.GeneralParameterBuilder.__n, and python.uq.dists.DataDist.DataDist.__sampleToIndex.
Referenced by python.uq.dists.Dist.Dist.crossEntropy(), python.uq.dists.J.J.discretize(), python.uq.dists.Dist.Dist.klDivergence(), and python.uq.dists.Dist.Dist.l2error().
def python.uq.dists.DataDist.DataDist.ppf | ( | self, | |
p, | |||
args, | |||
kws | |||
) |
def python.uq.dists.DataDist.DataDist.rvs | ( | self, | |
n = 1 |
|||
) |
References python.uq.dists.DataDist.DataDist.samples.
def python.uq.dists.DataDist.DataDist.std | ( | self | ) |
References python.uq.dists.Beta.Beta.var(), sgpp::combigrid::BsplineStochasticCollocation.var, sgpp::combigrid::PolynomialStochasticCollocation.var, python.uq.dists.DataDist.DataDist.var(), and python.uq.analysis.Analysis.Analysis.var().
def python.uq.dists.DataDist.DataDist.toJson | ( | self | ) |
Returns a string that represents the object Arguments: Return A string that represents the object
References python.uq.dists.DataDist.DataDist.__bounds, and python.uq.dists.DataDist.DataDist.samples.
Referenced by python.uq.sampler.asgc.ASGCSampler.ASGCSampler.__str__(), python.uq.uq_setting.UQSetting.UQSetting.__str__(), python.uq.sampler.asgc.ASGCSampler.ASGCSampler.createMemento(), and python.uq.uq_setting.UQSetting.UQSetting.createMemento().
def python.uq.dists.DataDist.DataDist.var | ( | self | ) |
References python.uq.dists.DataDist.DataDist.samples.
Referenced by python.uq.analysis.mc.MCAnalysis.MCAnalysis.computeMoments(), python.uq.analysis.asgc.ASGCAnalysis.ASGCAnalysis.computeMoments(), python.uq.dists.Dist.Dist.cov(), python.uq.dists.Dist.Dist.std(), python.uq.dists.DataDist.DataDist.std(), and python.uq.dists.J.J.std().
python.uq.dists.DataDist.DataDist.samples |
Referenced by python.uq.sampler.Sample.SamplesIterator.__next__(), python.uq.dists.DataDist.DataDist.cdf(), python.uq.dists.DataDist.DataDist.mean(), python.uq.dists.DataDist.DataDist.rvs(), python.uq.dists.LibAGFDist.LibAGFDist.rvs(), python.uq.dists.DataDist.DataDist.toJson(), and python.uq.dists.DataDist.DataDist.var().