SG++-Doxygen-Documentation
python.data.DataContainer.DataContainer Class Reference
Inheritance diagram for python.data.DataContainer.DataContainer:

Public Member Functions

def __contains__ (self, key)
 
def __getitem__ (self, item)
 
def __init__ (self, kwargs)
 
def __iter__ (self)
 
def __next__ (self)
 
def combine (self, container)
 
def createNullVector (self, size, dim)
 
def delTrainingData (self)
 
def fromJson (cls, jsonObject)
 
def getDataSubsetByCategory (self, category)
 
def getDataSubsetByIndexList (self, indices, name="train")
 
def getDim (self)
 
def getName (self)
 
def getPoints (self, category=None)
 
def getPointstoValuesMap (self)
 
def getPointsValues (self)
 
def getSize (self)
 
def getSizeTest (self)
 
def getSizeTrain (self)
 
def getSpecifiction (self)
 
def getTestDataset (self)
 
def getTrainDataset (self)
 
def getValues (self, category=None)
 
def merge (cls, containerList)
 
def toString (self)
 

Static Public Attributes

 dataDict = None
 
 dim = None
 
 name = None
 
 points = None
 
 size = None
 
 specifications = None
 
 tempPoint = None
 
 tempValue = None
 
string TEST_CATEGORY = 'test'
 
string TRAIN_CATEGORY = 'train'
 
 values = None
 

Constructor & Destructor Documentation

◆ __init__()

def python.data.DataContainer.DataContainer.__init__ (   self,
  kwargs 
)

References python.data.DataContainer.DataContainer.dataDict, python.data.DataContainer.DataContainer.dim, sgpp::base::ForwardSelectorRefinement_refinement_key.dim, sgpp::base::ImpurityRefinement_refinement_key.dim, sgpp::base::PredictiveRefinement_refinement_key.dim, python.data.DataContainer.DataContainer.name, sgpp::combigrid::L2LejaPointDistribution.points, sgpp::combigrid::LejaPointDistribution.points, sgpp::combigrid::LagrangePolynom.points, sgpp::combigrid::NestedPointHierarchy.points, sgpp::combigrid::NonNestedPointHierarchy.points, python.data.DataContainer.DataContainer.points, sgpp::base::MultipleClassRefinement.points, python.data.DataContainer.DataContainer.size, sgpp::base::DataVectorSP.size, python.data.DataContainer.DataContainer.specifications, python.data.DataContainer.DataContainer.tempPoint, python.data.DataContainer.DataContainer.tempValue, python.data.DataContainer.DataContainer.TRAIN_CATEGORY, sgpp::combigrid::FloatTensorVector.values, sgpp::combigrid::FloatArrayVector.values, and python.data.DataContainer.DataContainer.values.

Member Function Documentation

◆ __contains__()

def python.data.DataContainer.DataContainer.__contains__ (   self,
  key 
)

◆ __getitem__()

def python.data.DataContainer.DataContainer.__getitem__ (   self,
  item 
)

References python.data.DataContainer.DataContainer.dataDict, python.data.DataContainer.DataContainer.name, sgpp::combigrid::L2LejaPointDistribution.points, sgpp::combigrid::LejaPointDistribution.points, sgpp::combigrid::LagrangePolynom.points, sgpp::combigrid::NestedPointHierarchy.points, sgpp::combigrid::NonNestedPointHierarchy.points, python.data.DataContainer.DataContainer.points, sgpp::base::MultipleClassRefinement.points, python.data.DataContainer.DataContainer.tempPoint, python.data.DataContainer.DataContainer.tempValue, sgpp::combigrid::FloatTensorVector.values, sgpp::combigrid::FloatArrayVector.values, and python.data.DataContainer.DataContainer.values.

◆ __iter__()

def python.data.DataContainer.DataContainer.__iter__ (   self)

◆ __next__()

def python.data.DataContainer.DataContainer.__next__ (   self)

References python.data.DataContainer.DataContainer.name, sgpp::combigrid::L2LejaPointDistribution.points, sgpp::combigrid::LejaPointDistribution.points, sgpp::combigrid::LagrangePolynom.points, sgpp::combigrid::NestedPointHierarchy.points, sgpp::combigrid::NonNestedPointHierarchy.points, python.data.DataContainer.DataContainer.points, sgpp::base::MultipleClassRefinement.points, python.data.DataContainer.DataContainer.size, sgpp::base::DataVectorSP.size, python.data.DataContainer.DataContainer.tempPoint, python.data.DataContainer.DataContainer.tempValue, sgpp::combigrid::FloatTensorVector.values, sgpp::combigrid::FloatArrayVector.values, and python.data.DataContainer.DataContainer.values.

◆ combine()

def python.data.DataContainer.DataContainer.combine (   self,
  container 
)

◆ createNullVector()

def python.data.DataContainer.DataContainer.createNullVector (   self,
  size,
  dim 
)

◆ delTrainingData()

def python.data.DataContainer.DataContainer.delTrainingData (   self)

References python.data.DataContainer.DataContainer.dataDict, sgpp::combigrid::L2LejaPointDistribution.points, sgpp::combigrid::LejaPointDistribution.points, sgpp::combigrid::LagrangePolynom.points, sgpp::combigrid::NestedPointHierarchy.points, sgpp::combigrid::NonNestedPointHierarchy.points, python.data.DataContainer.DataContainer.points, sgpp::base::MultipleClassRefinement.points, python.data.DataContainer.DataContainer.TRAIN_CATEGORY, sgpp::combigrid::FloatTensorVector.values, sgpp::combigrid::FloatArrayVector.values, and python.data.DataContainer.DataContainer.values.

◆ fromJson()

◆ getDataSubsetByCategory()

def python.data.DataContainer.DataContainer.getDataSubsetByCategory (   self,
  category 
)

References sgpp::combigrid::L2LejaPointDistribution.points, sgpp::combigrid::LejaPointDistribution.points, sgpp::combigrid::LagrangePolynom.points, sgpp::combigrid::NestedPointHierarchy.points, sgpp::combigrid::NonNestedPointHierarchy.points, python.data.DataContainer.DataContainer.points, sgpp::base::MultipleClassRefinement.points, sgpp::combigrid::FloatTensorVector.values, sgpp::combigrid::FloatArrayVector.values, and python.data.DataContainer.DataContainer.values.

Referenced by python.data.DataContainer.DataContainer.getTestDataset(), and python.data.DataContainer.DataContainer.getTrainDataset().

◆ getDataSubsetByIndexList()

def python.data.DataContainer.DataContainer.getDataSubsetByIndexList (   self,
  indices,
  name = "train" 
)

◆ getDim()

def python.data.DataContainer.DataContainer.getDim (   self)

References python.data.DataContainer.DataContainer.dim, sgpp::base::ForwardSelectorRefinement_refinement_key.dim, sgpp::base::ImpurityRefinement_refinement_key.dim, sgpp::base::PredictiveRefinement_refinement_key.dim, python.data.DataContainer.DataContainer.name, sgpp::combigrid::L2LejaPointDistribution.points, sgpp::combigrid::LejaPointDistribution.points, sgpp::combigrid::LagrangePolynom.points, sgpp::combigrid::NestedPointHierarchy.points, sgpp::combigrid::NonNestedPointHierarchy.points, python.data.DataContainer.DataContainer.points, and sgpp::base::MultipleClassRefinement.points.

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().

◆ getName()

def python.data.DataContainer.DataContainer.getName (   self)

◆ getPoints()

def python.data.DataContainer.DataContainer.getPoints (   self,
  category = None 
)

References python.data.DataContainer.DataContainer.name, sgpp::combigrid::L2LejaPointDistribution.points, sgpp::combigrid::LejaPointDistribution.points, sgpp::combigrid::LagrangePolynom.points, sgpp::combigrid::NestedPointHierarchy.points, sgpp::combigrid::NonNestedPointHierarchy.points, python.data.DataContainer.DataContainer.points, and sgpp::base::MultipleClassRefinement.points.

Referenced by python.data.DataContainer.DataContainer.combine(), python.data.DataContainer.DataContainer.getDataSubsetByIndexList(), python.data.DataContainer.DataContainer.getPointsValues(), and python.data.DataContainer.DataContainer.toString().

◆ getPointstoValuesMap()

def python.data.DataContainer.DataContainer.getPointstoValuesMap (   self)

◆ getPointsValues()

◆ getSize()

def python.data.DataContainer.DataContainer.getSize (   self)

References python.data.DataContainer.DataContainer.name, sgpp::combigrid::L2LejaPointDistribution.points, sgpp::combigrid::LejaPointDistribution.points, sgpp::combigrid::LagrangePolynom.points, sgpp::combigrid::NestedPointHierarchy.points, sgpp::combigrid::NonNestedPointHierarchy.points, python.data.DataContainer.DataContainer.points, sgpp::base::MultipleClassRefinement.points, python.data.DataContainer.DataContainer.size, and sgpp::base::DataVectorSP.size.

Referenced by python.uq.uq_setting.UQSetting.UQSetting.convert(), python.uq.uq_setting.UQSetting.UQSetting.getTimeDependentResults(), python.uq.uq_setting.UQSetting.UQSetting.runSamples(), and python.uq.uq_setting.UQSetting.UQSetting.runSamples_withoutDistribution().

◆ getSizeTest()

def python.data.DataContainer.DataContainer.getSizeTest (   self)

◆ getSizeTrain()

def python.data.DataContainer.DataContainer.getSizeTrain (   self)

◆ getSpecifiction()

def python.data.DataContainer.DataContainer.getSpecifiction (   self)

◆ getTestDataset()

def python.data.DataContainer.DataContainer.getTestDataset (   self)

◆ getTrainDataset()

def python.data.DataContainer.DataContainer.getTrainDataset (   self)

◆ getValues()

def python.data.DataContainer.DataContainer.getValues (   self,
  category = None 
)

◆ merge()

def python.data.DataContainer.DataContainer.merge (   cls,
  containerList 
)

References python.data.DataContainer.DataContainer.dataDict, sgpp::combigrid::L2LejaPointDistribution.points, sgpp::combigrid::LejaPointDistribution.points, sgpp::combigrid::LagrangePolynom.points, sgpp::combigrid::NestedPointHierarchy.points, sgpp::combigrid::NonNestedPointHierarchy.points, python.data.DataContainer.DataContainer.points, sgpp::base::MultipleClassRefinement.points, python.data.DataContainer.DataContainer.specifications, sgpp::combigrid::FloatTensorVector.values, sgpp::combigrid::FloatArrayVector.values, and python.data.DataContainer.DataContainer.values.

◆ toString()

Member Data Documentation

◆ dataDict

◆ dim

◆ name

◆ points

◆ size

◆ specifications

◆ tempPoint

◆ tempValue

◆ TEST_CATEGORY

string python.data.DataContainer.DataContainer.TEST_CATEGORY = 'test'
static

◆ TRAIN_CATEGORY

◆ values


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