Linear regression algorithms.
Linear regression algorithms.
(linear-regression xs ys)Perform simple linear regression: y = a0 + a1*x.
Returns a map with:
Perform simple linear regression: y = a0 + a1*x. Returns a map with: - :coeffs [a0 a1] - intercept and slope - :variance - residual variance (MSE with n-2 degrees of freedom) - :r-sqr - coefficient of determination (R-squared)
(sum-square-delta vs mv)Sum of squared differences from a mean value.
Sum of squared differences from a mean value.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |