This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
LinearRegressor | |
This module defines a LinearRegressor class for fitting linear regression models to data points and | |
predicting or extrapolating values based on the fitted model. | |
Author: Derek Michael Baier | |
Author Email: derek.m.baier@gmail.com | |
Disclaimer: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
PID can be confusing, it's okay if you don't understand it and still want to use it, | |
I hope this mini-guide gives you enough information on PID to start using it in your own projects: | |
PID Explained: | |
PID (Proportional-Integral-Derivative) is a control algorithm used in engineering and robotics. | |
It adjusts its output based on the error signal, which represents the deviation from the desired setpoint. | |
The gains, namely Kp, Ki, and Kd, determine the contribution of each component. | |
PID gains are prefixed with a "K" to indicate that they are coefficients or constants used to scale the effect of each component. | |
Such effects are explained below, as well as a guide on tuning their gains. |