Dakota  Version
Explore and Predict with Confidence
Public Types | Public Member Functions | Protected Attributes | List of all members
BootstrapSampler< Teuchos::SerialDenseMatrix< OrdinalType, ScalarType > > Class Template Reference

Bootstrap sampler that is specialized to allow for the bootstrapping of RealMatrix. More...

Inheritance diagram for BootstrapSampler< Teuchos::SerialDenseMatrix< OrdinalType, ScalarType > >:
BootstrapSamplerBase< Teuchos::SerialDenseMatrix< OrdinalType, ScalarType > >

Public Types

typedef Teuchos::SerialDenseMatrix< OrdinalType, ScalarType > MatType
 Convenience definition.
 

Public Member Functions

 BootstrapSampler (const MatType &orig_data, size_t block_size=1)
 Constructor for the sampler.
 
virtual ~BootstrapSampler ()
 Destructor.
 
virtual void operator() (size_t num_samp, MatType &bootstrapped_sample)
 Generate and store a new bootstrapped sample into bootstrapped_sample.
 
- Public Member Functions inherited from BootstrapSamplerBase< Teuchos::SerialDenseMatrix< OrdinalType, ScalarType > >
 BootstrapSamplerBase (size_t data_size, Teuchos::SerialDenseMatrix< OrdinalType, ScalarType > orig_data)
 Constructor for the bootstrap functor base.
 
virtual ~BootstrapSamplerBase ()
 Destructor.
 
virtual void operator() (Teuchos::SerialDenseMatrix< OrdinalType, ScalarType > &bootstrapped_sample)
 Generate and store an dataSize out of dataSize bootstrap sample.
 
virtual Teuchos::SerialDenseMatrix< OrdinalType, ScalarType > operator() ()
 Return bootstrapped sample.
 
virtual size_t getDataSize ()
 Obatin the number of samples used in the empirical distribution.
 

Protected Attributes

size_t blockSize
 Size of the block defining a sample.
 
- Protected Attributes inherited from BootstrapSamplerBase< Teuchos::SerialDenseMatrix< OrdinalType, ScalarType > >
boost::random::uniform_int_distribution sampler
 Uniform distribution to provide samples from the empirical distribution.
 
const size_t dataSize
 Size of the dataset defining the empirical distribution.
 
Teuchos::SerialDenseMatrix< OrdinalType, ScalarType > origData
 Original data defining the empirical distribution TODO: Consider if it should be const (breaks Teuchos)
 

Additional Inherited Members

- Static Public Member Functions inherited from BootstrapSamplerBase< Teuchos::SerialDenseMatrix< OrdinalType, ScalarType > >
static void set_seed (size_t seed)
 
- Static Protected Attributes inherited from BootstrapSamplerBase< Teuchos::SerialDenseMatrix< OrdinalType, ScalarType > >
static boost::random::mt19937 bootstrapRNG
 Random number generator to use for sampling. More...
 

Detailed Description

template<typename OrdinalType, typename ScalarType>
class Dakota::BootstrapSampler< Teuchos::SerialDenseMatrix< OrdinalType, ScalarType > >

Bootstrap sampler that is specialized to allow for the bootstrapping of RealMatrix.


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