![]() |
SG++-Doxygen-Documentation
|
Public Member Functions | |
__eq__ (self, sample) | |
__hash__ (self) | |
__init__ (self, params=None, sample=None, dtype=SampleType.ACTIVEPROBABILISTIC) | |
__str__ (self) | |
fromJson (cls, jsonObject) | |
getActiveProbabilistic (self) | |
getActiveUnit (self) | |
getDim (self, dtype=SampleType.ACTIVEUNIT) | |
getExpandedDim (self) | |
getExpandedProbabilistic (self) | |
getExpandedUnit (self) | |
getStochasticDim (self) | |
getValue (self, dtype=SampleType.ACTIVEUNIT) | |
init (self, activeUnit, activeProb, expandedUnit, expandedProb) | |
toJson (self) | |
python.uq.sampler.Sample.Sample.__init__ | ( | self, | |
params = None , |
|||
sample = None , |
|||
dtype = SampleType.ACTIVEPROBABILISTIC |
|||
) |
constructor @param params: ParameterSet @param sample: numpy array, tuple or list @param dtype: SampleType
References python.uq.sampler.Sample.Sample.__activeProb, python.uq.sampler.Sample.Sample.__activeUnit, python.uq.sampler.Sample.Sample.__expandedProb, and python.uq.sampler.Sample.Sample.__expandedUnit.
python.uq.sampler.Sample.Sample.__eq__ | ( | self, | |
sample | |||
) |
Referenced by python.uq.parameters.ParameterSet.ParameterSet.__ne__().
python.uq.sampler.Sample.Sample.__hash__ | ( | self | ) |
References python.uq.sampler.Sample.Sample.__hash__(), and python.uq.sampler.Sample.Sample.getExpandedUnit().
Referenced by python.uq.sampler.Sample.Sample.__hash__().
python.uq.sampler.Sample.Sample.__str__ | ( | self | ) |
References python.uq.sampler.Sample.Sample.getActiveUnit().
python.uq.sampler.Sample.Sample.fromJson | ( | cls, | |
jsonObject | |||
) |
Restores the Sample object from the json object with its attributes. @param jsonObject: json object @return: the restored Sample object
Referenced by python.learner.Learner.Learner.setMemento(), python.uq.analysis.asgc.ASGCKnowledge.ASGCKnowledge.setMemento(), python.uq.learner.Learner.Learner.setMemento(), python.uq.sampler.asgc.ASGCSampler.ASGCSampler.setMemento(), and python.uq.uq_setting.UQSetting.UQSetting.setMemento().
python.uq.sampler.Sample.Sample.getActiveProbabilistic | ( | self | ) |
References python.uq.sampler.Sample.Sample.__activeProb.
Referenced by python.uq.sampler.Sample.Sample.getValue().
python.uq.sampler.Sample.Sample.getActiveUnit | ( | self | ) |
References python.uq.sampler.Sample.Sample.__activeUnit.
Referenced by python.uq.sampler.Sample.Sample.__str__(), and python.uq.sampler.Sample.Sample.getValue().
python.uq.sampler.Sample.Sample.getDim | ( | self, | |
dtype = SampleType.ACTIVEUNIT |
|||
) |
References python.uq.sampler.Sample.Sample.getExpandedDim(), python.uq.parameters.ParameterSet.ParameterSet.getStochasticDim(), and python.uq.sampler.Sample.Sample.getStochasticDim().
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().
python.uq.sampler.Sample.Sample.getExpandedDim | ( | self | ) |
References python.uq.sampler.Sample.Sample.__expandedUnit.
Referenced by python.uq.sampler.Sample.Sample.getDim().
python.uq.sampler.Sample.Sample.getExpandedProbabilistic | ( | self | ) |
References python.uq.sampler.Sample.Sample.__expandedProb.
Referenced by python.uq.sampler.Sample.Sample.getValue().
python.uq.sampler.Sample.Sample.getExpandedUnit | ( | self | ) |
References python.uq.sampler.Sample.Sample.__expandedUnit.
Referenced by python.uq.sampler.Sample.Sample.__hash__(), and python.uq.sampler.Sample.Sample.getValue().
python.uq.sampler.Sample.Sample.getStochasticDim | ( | self | ) |
References python.uq.sampler.Sample.Sample.__activeUnit.
Referenced by python.uq.parameters.ParameterSet.ParameterSet.extractActiveSubset(), python.uq.parameters.ParameterSet.ParameterSet.extractActiveTuple(), and python.uq.sampler.Sample.Sample.getDim().
python.uq.sampler.Sample.Sample.getValue | ( | self, | |
dtype = SampleType.ACTIVEUNIT |
|||
) |
python.uq.sampler.Sample.Sample.init | ( | self, | |
activeUnit, | |||
activeProb, | |||
expandedUnit, | |||
expandedProb | |||
) |
References python.uq.sampler.Sample.Sample.__activeProb, python.uq.sampler.Sample.Sample.__activeUnit, python.uq.sampler.Sample.Sample.__expandedProb, and python.uq.sampler.Sample.Sample.__expandedUnit.
python.uq.sampler.Sample.Sample.toJson | ( | self | ) |
Returns a string that represents the object
Referenced by python.uq.sampler.asgc.ASGCSampler.ASGCSampler.__str__(), python.uq.uq_setting.UQSetting.UQSetting.__str__(), python.uq.analysis.asgc.ASGCKnowledge.ASGCKnowledge.createMemento(), python.uq.sampler.asgc.ASGCSampler.ASGCSampler.createMemento(), and python.uq.uq_setting.UQSetting.UQSetting.createMemento().