ClickHouse/tests/queries/0_stateless/00978_ml_math.sql

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

5 lines
223 B
MySQL
Raw Normal View History

2019-08-02 19:00:22 +00:00
SELECT
round(sigmoid(x), 5), round(sigmoid(toFloat32(x)), 5), round(sigmoid(toFloat64(x)), 5),
round(tanh(x), 5), round(TANH(toFloat32(x)), 5), round(TANh(toFloat64(x)), 5)
2019-08-01 00:43:50 +00:00
FROM (SELECT arrayJoin([-1, 0, 1]) AS x);