mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 00:52:02 +00:00
97f2a2213e
* Move some code outside dbms/src folder * Fix paths
10 lines
585 B
SQL
10 lines
585 B
SQL
select arrayReduce('simpleLinearRegression', [1, 2, 3, 4], [100, 110, 120, 130]);
|
|
select arrayReduce('simpleLinearRegression', [1, 2, 3, 4], [100, 110, 120, 131]);
|
|
select arrayReduce('simpleLinearRegression', [-1, -2, -3, -4], [-100, -110, -120, -130]);
|
|
select arrayReduce('simpleLinearRegression', [5, 5.1], [6, 6.1]);
|
|
select arrayReduce('simpleLinearRegression', [0], [0]);
|
|
select arrayReduce('simpleLinearRegression', [3, 4], [3, 3]);
|
|
select arrayReduce('simpleLinearRegression', [3, 3], [3, 4]);
|
|
select arrayReduce('simpleLinearRegression', emptyArrayUInt8(), emptyArrayUInt8());
|
|
|