Sie verfolgen jetzt diese Einreichung
- Aktualisierungen können Sie in Ihrem Feed verfolgter Inhalte sehen.
- Je nach Ihren Kommunikationseinstellungen können Sie auch E-Mails erhalten.
the function calculates theta(1) and theta(2) for input data X and output data y to fit a linear function h = theta(1)*X(1) + theta(2) with minimum MSE of h - y through the given data points. Elements of theta are
determined using the gradient descent method, computed iteratively until the convergence criterion is met that is when absolute relative increment of the cost function J is less or equal to the value of tolerance tol,
where J = 1/m sum((h - y).^2);
Zitieren als
Alexander Babin (2026). Normalization and Linear Regression of Data (https://de.mathworks.com/matlabcentral/fileexchange/84520-normalization-and-linear-regression-of-data), MATLAB Central File Exchange. Abgerufen .
Allgemeine Informationen
- Version 1.0.1 (1,94 KB)
Kompatibilität der MATLAB-Version
- Kompatibel mit allen Versionen
Plattform-Kompatibilität
- Windows
- macOS
- Linux
| Version | Veröffentlicht | Versionshinweise | Action |
|---|---|---|---|
| 1.0.1 | - normalization removed as it resulted in data change |
||
| 1.0.0 |
