From abc539b0fd9d4b187fc4375849409b60c50b99c8 Mon Sep 17 00:00:00 2001 From: Andru Liu <90433630+WallabyLester@users.noreply.github.com> Date: Tue, 8 Oct 2024 21:46:06 -0700 Subject: [PATCH] Changed comments to match. --- CPP_Implementation/rbf_model.cpp | 2 +- CPP_Implementation/rbf_model.h | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/CPP_Implementation/rbf_model.cpp b/CPP_Implementation/rbf_model.cpp index c142114..6c0c5c7 100644 --- a/CPP_Implementation/rbf_model.cpp +++ b/CPP_Implementation/rbf_model.cpp @@ -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; diff --git a/CPP_Implementation/rbf_model.h b/CPP_Implementation/rbf_model.h index 4515cba..42e5161 100644 --- a/CPP_Implementation/rbf_model.h +++ b/CPP_Implementation/rbf_model.h @@ -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.