|
DMP_BBO library
|
Meta-parameters for the Radial Basis Function Network (RBFN) function approximator. More...
#include <MetaParametersRBFN.hpp>


Public Member Functions | |
| MetaParametersRBFN (int expected_input_dim, const std::vector< Eigen::VectorXd > ¢ers_per_dim, double intersection_height=0.5, double regularization=0.0) | |
| Constructor for the algorithmic meta-parameters of the RBFN function approximator. More... | |
| MetaParametersRBFN (int expected_input_dim, const Eigen::VectorXi &n_basis_functions_per_dim, double intersection_height=0.5, double regularization=0.0) | |
| Constructor for the algorithmic meta-parameters of the RBFN function approximator. More... | |
| MetaParametersRBFN (int expected_input_dim, int n_basis_functions=10, double intersection_height=0.5, double regularization=0.0) | |
| Constructor for the algorithmic meta-parameters of the RBFN function approximator. More... | |
| double | regularization (void) const |
| Accessor function for regularization. More... | |
| void | getCentersAndWidths (const Eigen::VectorXd &min, const Eigen::VectorXd &max, Eigen::MatrixXd ¢ers, Eigen::MatrixXd &widths) const |
| Get the centers and widths of the basis functions. More... | |
| MetaParametersRBFN * | clone (void) const |
| Return a pointer to a deep copy of the MetaParameters object. More... | |
| std::string | toString (void) const |
| Returns a string representation of the object. More... | |
Public Member Functions inherited from MetaParameters | |
| MetaParameters (int expected_input_dim) | |
| Constructor. More... | |
| virtual | ~MetaParameters (void) |
| Virtual destructor, because this is a base class. | |
| int | getExpectedInputDim (void) const |
| The expected dimensionality of the input data. More... | |
| virtual int | getExpectedOutputDim (void) const |
| The expected dimensionality of the output data. More... | |
Friends | |
| class | boost::serialization::access |
| Give boost serialization access to private members. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from MetaParameters | |
| MetaParameters (void) | |
| Default constructor. More... | |
Meta-parameters for the Radial Basis Function Network (RBFN) function approximator.
Definition at line 39 of file MetaParametersRBFN.hpp.
| MetaParametersRBFN | ( | int | expected_input_dim, |
| const std::vector< Eigen::VectorXd > & | centers_per_dim, | ||
| double | intersection_height = 0.5, |
||
| double | regularization = 0.0 |
||
| ) |
Constructor for the algorithmic meta-parameters of the RBFN function approximator.
| [in] | expected_input_dim | The dimensionality of the data this function approximator expects. Although this information is already contained in the 'centers_per_dim' argument, we ask the user to pass it explicitly so that various checks on the arguments may be conducted. |
| [in] | centers_per_dim | Centers of the basis functions, one VectorXd for each dimension. |
| [in] | intersection_height | The value at which two neighbouring basis functions will intersect. |
| [in] | regularization | Regularization parameter |
Definition at line 52 of file MetaParametersRBFN.cpp.
| MetaParametersRBFN | ( | int | expected_input_dim, |
| const Eigen::VectorXi & | n_basis_functions_per_dim, | ||
| double | intersection_height = 0.5, |
||
| double | regularization = 0.0 |
||
| ) |
Constructor for the algorithmic meta-parameters of the RBFN function approximator.
| [in] | expected_input_dim | The dimensionality of the data this function approximator expects. Although this information is already contained in the 'centers' argument, we ask the user to pass it explicitly so that various checks on the arguments may be conducted. |
| [in] | n_basis_functions_per_dim | Number of basis functions |
| [in] | intersection_height | The value at which two neighbouring basis functions will intersect. |
| [in] | regularization | Regularization parameter |
The centers and widths of the basis functions are determined from these parameters once the range of the input data is known, see also setInputMinMax()
Definition at line 67 of file MetaParametersRBFN.cpp.
| MetaParametersRBFN | ( | int | expected_input_dim, |
| int | n_basis_functions = 10, |
||
| double | intersection_height = 0.5, |
||
| double | regularization = 0.0 |
||
| ) |
Constructor for the algorithmic meta-parameters of the RBFN function approximator.
This is for the special case when the dimensionality of the input data is 1.
| [in] | expected_input_dim | The dimensionality of the data this function approximator expects. Since this constructor is for 1-D input data only, we simply check if this argument is equal to 1. |
| [in] | n_basis_functions | Number of basis functions for the one dimension |
| [in] | intersection_height | The value at which two neighbouring basis functions will intersect. |
| [in] | regularization | Regularization parameter |
The centers and widths of the basis functions are determined from these parameters once the range of the input data is known, see also setInputMinMax()
Definition at line 82 of file MetaParametersRBFN.cpp.
|
inline |
Accessor function for regularization.
Definition at line 79 of file MetaParametersRBFN.hpp.

| void getCentersAndWidths | ( | const Eigen::VectorXd & | min, |
| const Eigen::VectorXd & | max, | ||
| Eigen::MatrixXd & | centers, | ||
| Eigen::MatrixXd & | widths | ||
| ) | const |
Get the centers and widths of the basis functions.
| [in] | min | Minimum values of input data (one value for each dimension). |
| [in] | max | Maximum values of input data (one value for each dimension). |
| [out] | centers | Centers of the basis functions (matrix of size n_basis_functions X n_input_dims |
| [out] | widths | Widths of the basis functions (matrix of size n_basis_functions X n_input_dims |
The reason why there are not two functions getCenters and getWidths is that it is much easier to compute both at the same time, and usually you will need both at the same time anyway.
Definition at line 109 of file MetaParametersRBFN.cpp.

|
virtual |
Return a pointer to a deep copy of the MetaParameters object.
Implements MetaParameters.
Definition at line 97 of file MetaParametersRBFN.cpp.

|
virtual |
Returns a string representation of the object.
Implements MetaParameters.
Definition at line 209 of file MetaParametersRBFN.cpp.
|
friend |
Give boost serialization access to private members.
Definition at line 111 of file MetaParametersRBFN.hpp.
1.8.11