SG++-Doxygen-Documentation
python.uq.dists.KDEDist.KDEDist Class Reference
Inheritance diagram for python.uq.dists.KDEDist.KDEDist:

Public Member Functions

def __init__ (self, trainData, kde=None, kernelType=KernelType_GAUSSIAN, bandwidhts=None, bandwidthOptimizationType=BandwidthOptimizationType_SILVERMANSRULE, bounds=None)
 
def __str__ (self)
 
def cdf (self, x, shuffle=False)
 
def cov (self)
 
def fromJson (cls, jsonObject)
 
def getBandwidths (self)
 
def marginalize (self, idim)
 
def marginalizeToDimX (self, idim)
 
def mean (self, n=1e4)
 
def pdf (self, x)
 
def ppf (self, x, shuffle=False)
 
def rvs (self, n=1, shuffle=False)
 
def toJson (self)
 
def var (self)
 

Public Attributes

 dist
 

Detailed Description

KDE using SG++ implementation

Constructor & Destructor Documentation

◆ __init__()

def python.uq.dists.KDEDist.KDEDist.__init__ (   self,
  trainData,
  kde = None,
  kernelType = KernelType_GAUSSIAN,
  bandwidhts = None,
  bandwidthOptimizationType = BandwidthOptimizationType_SILVERMANSRULE,
  bounds = None 
)

Member Function Documentation

◆ __str__()

def python.uq.dists.KDEDist.KDEDist.__str__ (   self)

◆ cdf()

def python.uq.dists.KDEDist.KDEDist.cdf (   self,
  x,
  shuffle = False 
)

References python.uq.dists.EstimatedDist.EstimatedDist._convertEvalPoint(), sgpp::op_factory.createOperationRosenblattTransformationKDE(), and python.uq.dists.KDEDist.KDEDist.dist.

◆ cov()

def python.uq.dists.KDEDist.KDEDist.cov (   self)

References python.uq.dists.EstimatedDist.EstimatedDist.dim, python.uq.operations.natafTransformation.NatafTransformation.dim, sgpp::datadriven::PiecewiseConstantRegression::Node.dim, sgpp::datadriven::OperationMultiEvalHPX.dim, sgpp::datadriven::OperationMultiEvalMPI.dim, sgpp::pde::PDESolver.dim, python.uq.dists.LibAGFDist.LibAGFDist.dim, sgpp::datadriven::OperationMultipleEvalSubspaceSimple.dim, sgpp::datadriven::OperationMultipleEvalSubspaceCombined.dim, python.data.DataContainer.DataContainer.dim, sgpp::base::ImpurityRefinement_refinement_key.dim, sgpp::base::ForwardSelectorRefinement_refinement_key.dim, sgpp::base::PredictiveRefinement_refinement_key.dim, sgpp::datadriven::AlgorithmAdaBoostBase.dim, python.uq.dists.SGDEdist.SGDEdist.dim, sgpp::base::GridDataBase.dim(), and python.uq.dists.KDEDist.KDEDist.dist.

◆ fromJson()

def python.uq.dists.KDEDist.KDEDist.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().

◆ getBandwidths()

def python.uq.dists.KDEDist.KDEDist.getBandwidths (   self)

References python.uq.dists.KDEDist.KDEDist.dist, sgpp::datadriven::DensityEstimator.getDim(), sgpp::base::ImpurityRefinement_refinement_key.getDim(), python.uq.dists.TLognormal.TLognormal.getDim(), sgpp::base::ForwardSelectorRefinement_refinement_key.getDim(), sgpp::base::PredictiveRefinement_refinement_key.getDim(), sgpp::datadriven::ArffFileSampleProvider.getDim(), sgpp::datadriven::CSVFileSampleProvider.getDim(), python.uq.learner.SimulationLearnerSpecification.SimulationLearnerSpecification.getDim(), sgpp::datadriven::FileSampleDecorator.getDim(), python.uq.analysis.asgc.ASGCAnalysisSpecification.ASGCAnalysisSpecification.getDim(), sgpp::datadriven::SampleProvider.getDim(), python.uq.dists.Beta.Beta.getDim(), python.uq.dists.Uniform.Uniform.getDim(), python.uq.dists.Corr.Corr.getDim(), python.uq.dists.EstimatedDist.EstimatedDist.getDim(), python.uq.dists.MultivariateNormal.MultivariateNormal.getDim(), python.uq.dists.Dist.Dist.getDim(), python.uq.dists.Lognormal.Lognormal.getDim(), python.uq.dists.DataDist.DataDist.getDim(), python.uq.dists.TNormal.TNormal.getDim(), sgpp::datadriven::KernelDensityEstimator.getDim(), python.uq.dists.Normal.Normal.getDim(), python.uq.sampler.Sample.Samples.getDim(), python.uq.dists.J.J.getDim(), sgpp::datadriven::LearnerSGDE.getDim(), python.uq.dists.NatafDist.NatafDist.getDim(), sgpp::datadriven::SparseGridDensityEstimator.getDim(), python.uq.sampler.Sample.Sample.getDim(), python.uq.dists.LibAGFDist.LibAGFDist.getDim(), python.uq.manager.ASGCUQManager.ASGCUQManager.getDim(), python.uq.parameters.ParameterSet.ParameterSet.getDim(), python.data.DataContainer.DataContainer.getDim(), and python.uq.uq_setting.UQSetting.UQSetting.getDim().

Referenced by python.uq.dists.KDEDist.KDEDist.toJson().

◆ marginalize()

◆ marginalizeToDimX()

◆ mean()

◆ pdf()

def python.uq.dists.KDEDist.KDEDist.pdf (   self,
  x 
)

References python.uq.dists.EstimatedDist.EstimatedDist._convertEvalPoint(), and python.uq.dists.KDEDist.KDEDist.dist.

◆ ppf()

def python.uq.dists.KDEDist.KDEDist.ppf (   self,
  x,
  shuffle = False 
)

◆ rvs()

def python.uq.dists.KDEDist.KDEDist.rvs (   self,
  n = 1,
  shuffle = False 
)

◆ toJson()

◆ var()

Member Data Documentation

◆ dist


The documentation for this class was generated from the following file: