MUQ  0.4.3
Diagnostics.h
Go to the documentation of this file.
1 #ifndef DIAGNOSTICS_H_
2 #define DIAGNOSTICS_H_
3 
4 #include <vector>
5 
8 
9 #include <boost/property_tree/ptree.hpp>
10 
11 namespace muq{
12  namespace SamplingAlgorithms{
13 
14  namespace Diagnostics{
106  template<typename EstimatorType>
107  Eigen::VectorXd Rhat(std::vector<std::shared_ptr<EstimatorType>> const& estimators,
108  boost::property_tree::ptree options = boost::property_tree::ptree());
109 
113  Eigen::VectorXd BasicRhat(std::vector<std::shared_ptr<SampleEstimator>> const& collections);
114 
119  double BasicMPSRF(std::vector<std::shared_ptr<SampleEstimator>> const& collections);
120 
122  std::vector<std::shared_ptr<SampleCollection>> SplitChains(std::vector<std::shared_ptr<const SampleCollection>> const& collections, unsigned int numSegs=2);
123  std::vector<std::shared_ptr<SampleCollection>> SplitChains(std::vector<std::shared_ptr<SampleCollection>> const& origChains, unsigned int numSegments=2);
124 
126  std::vector<std::shared_ptr<SampleCollection>> TransformChains(std::vector<std::shared_ptr<SampleCollection>> const& collections);
127 
128 
137  std::vector<Eigen::VectorXd> ComputeRanks(std::vector<std::shared_ptr<SampleCollection>> const& collections,
138  unsigned int dim);
139 
144  } // namespace Diagnostics
145  } // namespace SamplingAlgorithms
146 } // namespace muq
147 
148 #endif // #ifndef DIAGNOSTICS_H_