Cleaning up.

This commit is contained in:
Andru Liu
2024-10-07 17:53:38 -07:00
parent 1a6b9daf8c
commit c30e42440d
3 changed files with 2 additions and 3 deletions
-1
View File
@@ -54,7 +54,6 @@ class RBFNetwork:
Returns
-------
Height of Gaussian curve at x.
"""
return np.exp(-np.linalg.norm(x - center) ** 2 / (2 * self.sigma ** 2))
-1
View File
@@ -16,7 +16,6 @@ class AdaptivePIDNP:
rbf_network : RBFNetwork object
RBF network class instance.
Methods
-------
update(target, measured_value, dt):
+2 -1
View File
@@ -53,4 +53,5 @@ if __name__ == "__main__":
plt.title("Adaptive RBF Neural PID Controller")
plt.legend()
plt.grid()
plt.show()
plt.show()