Changed comments to match.

This commit is contained in:
Andru Liu
2024-10-08 21:46:06 -07:00
parent 692436ff18
commit abc539b0fd
2 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ RBFModel::~RBFModel() {
}
/**
* @brief Gaussian function used in RBF evaluation.
* @brief Gaussian function used in RBF prediction.
*/
double RBFModel::gaussian(const double* input, const double* center) {
double norm = 0.0;
+2 -3
View File
@@ -8,12 +8,11 @@
* @class RBFModel
* @brief Radial Basis Function (RBF) Model for function approximation.
*
* This class implements an RBF model that evaluates outputs based
* This class implements an RBF model that predicts outputs based
* on a set of radial basis functions centered at specified locations.
*/
class RBFModel {
public:
/**
* @brief Constructor to initialize the RBF model.
*
@@ -85,7 +84,7 @@ private:
double sigma; // Spread of the RBF
/**
* @brief Gaussian function used in RBF evaluation.
* @brief Gaussian function used in RBF prediction.
*
* @param input A pointer to an array of input values.
* @param center A pointer to an array representing the center of the Gaussian function.