DMP_BBO library
MetaParametersRRRFF.hpp
Go to the documentation of this file.
1 
24 #ifndef METAPARAMETERSRRRFF_H
25 #define METAPARAMETERSRRRFF_H
26 
28 
29 #include <iosfwd>
30 
31 namespace DmpBbo {
32 
38 {
39  friend class FunctionApproximatorRRRFF;
40 
41 public:
42 
49  MetaParametersRRRFF(int expected_input_dim, int number_of_basis_functions, double regularization, double gamma);
50 
51  MetaParametersRRRFF* clone(void) const;
52 
53  std::string toString(void) const;
54 
55 private:
56 
58  int number_of_basis_functions_;
59 
61  double regularization_;
62 
64  double gamma_;
65 
73 
75  friend class boost::serialization::access;
76 
82  template<class Archive>
83  void serialize(Archive & ar, const unsigned int version);
84 
85 };
86 
87 }
88 
89 #include <boost/serialization/export.hpp>
92 
93 
94 BOOST_CLASS_IMPLEMENTATION(DmpBbo::MetaParametersRRRFF,boost::serialization::object_serializable);
95 
96 #endif // #ifndef METAPARAMETERSRRRFF_H
97 
MetaParametersRRRFF * clone(void) const
Return a pointer to a deep copy of the MetaParameters object.
Meta-parameters for the RRRFF function approximator.
BOOST_CLASS_EXPORT_KEY2(DmpBbo::TimeSystem,"TimeSystem")
Register this derived class.
BOOST_CLASS_IMPLEMENTATION(DmpBbo::MetaParametersRRRFF, boost::serialization::object_serializable)
Register this derived class.
std::string toString(void) const
Returns a string representation of the object.
RRRFF (Ridge Regression with Random Fourier Features) function approximatorhttps://www.ncbi.nlm.nih.gov/pmc/articles/PMC3935121/.
MetaParameters class header file.
friend class boost::serialization::access
Give boost serialization access to private members.
Base class for all meta-parameters of function approximators.