toggle menu
0.4.9
common
switch theme
search in API
Navigation
/
com.amarcolini.joos.util
/
doLinearRegression
do
Linear
Regression
fun
doLinearRegression
(
x
:
List
<
Double
>
,
y
:
List
<
Double
>
)
:
Pair
<
Double
,
Double
>
Does a linear regression of the form
y = mx + b
.
Return
m
and
b