ROL
Public Member Functions | Private Attributes | List of all members
ROL::LinearRegression< Real > Class Template Reference

Provides the interface to construct linear regression problem. More...

#include <ROL_LinearRegression.hpp>

Public Member Functions

 LinearRegression (const Ptr< SampleGenerator< Real >> &data)
 
void setErrorMeasure (ROL::ParameterList &parlist, bool reset=false)
 
void setLowerBound (const std::vector< Real > &lower)
 
void setUpperBound (const std::vector< Real > &upper)
 
void reset (void)
 
const Ptr< OptimizationProblem
< Real > > 
getOptimizationProblem (void)
 
const Ptr< std::vector< Real > > getCoefficients (void) const
 
void print (std::ostream &out=std::cout, const std::string delim=" ") const
 

Private Attributes

const Ptr< RegressionError
< Real > > 
error_
 
const Ptr< SampleGenerator
< Real > > 
data_
 
Ptr< RandVarFunctional< Real > > em_
 
Ptr< StochasticObjective< Real > > obj_
 
Ptr< std::vector< Real > > cdata_
 
Ptr< RiskVector< Real > > c_
 
Ptr< std::vector< Real > > lower_
 
Ptr< std::vector< Real > > upper_
 
Ptr< BoundConstraint< Real > > bnd_
 
Ptr< RiskBoundConstraint< Real > > rbnd_
 
bool initialized_
 

Detailed Description

template<class Real>
class ROL::LinearRegression< Real >

Provides the interface to construct linear regression problem.


Definition at line 66 of file ROL_LinearRegression.hpp.

Constructor & Destructor Documentation

template<class Real >
ROL::LinearRegression< Real >::LinearRegression ( const Ptr< SampleGenerator< Real >> &  data)
inline

Member Function Documentation

template<class Real >
void ROL::LinearRegression< Real >::setErrorMeasure ( ROL::ParameterList &  parlist,
bool  reset = false 
)
inline
template<class Real >
void ROL::LinearRegression< Real >::setLowerBound ( const std::vector< Real > &  lower)
inline

Definition at line 101 of file ROL_LinearRegression.hpp.

References ROL::LinearRegression< Real >::lower_.

template<class Real >
void ROL::LinearRegression< Real >::setUpperBound ( const std::vector< Real > &  upper)
inline

Definition at line 105 of file ROL_LinearRegression.hpp.

References ROL::LinearRegression< Real >::upper_.

template<class Real >
void ROL::LinearRegression< Real >::reset ( void  )
inline
template<class Real >
const Ptr<OptimizationProblem<Real> > ROL::LinearRegression< Real >::getOptimizationProblem ( void  )
inline
template<class Real >
const Ptr<std::vector<Real> > ROL::LinearRegression< Real >::getCoefficients ( void  ) const
inline

Definition at line 134 of file ROL_LinearRegression.hpp.

References ROL::LinearRegression< Real >::cdata_.

template<class Real >
void ROL::LinearRegression< Real >::print ( std::ostream &  out = std::cout,
const std::string  delim = "  " 
) const
inline

Definition at line 138 of file ROL_LinearRegression.hpp.

References ROL::LinearRegression< Real >::cdata_.

Member Data Documentation

template<class Real >
const Ptr<RegressionError<Real> > ROL::LinearRegression< Real >::error_
private
template<class Real >
const Ptr<SampleGenerator<Real> > ROL::LinearRegression< Real >::data_
private
template<class Real >
Ptr<RandVarFunctional<Real> > ROL::LinearRegression< Real >::em_
private
template<class Real >
Ptr<StochasticObjective<Real> > ROL::LinearRegression< Real >::obj_
private
template<class Real >
Ptr<std::vector<Real> > ROL::LinearRegression< Real >::cdata_
private
template<class Real >
Ptr<RiskVector<Real> > ROL::LinearRegression< Real >::c_
private
template<class Real >
Ptr<std::vector<Real> > ROL::LinearRegression< Real >::lower_
private
template<class Real >
Ptr<std::vector<Real> > ROL::LinearRegression< Real >::upper_
private
template<class Real >
Ptr<BoundConstraint<Real> > ROL::LinearRegression< Real >::bnd_
private
template<class Real >
Ptr<RiskBoundConstraint<Real> > ROL::LinearRegression< Real >::rbnd_
private
template<class Real >
bool ROL::LinearRegression< Real >::initialized_
private

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