ClickHouse/docs/en/sql-reference/functions/machine-learning-functions.md

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

19 lines
950 B
Markdown
Raw Normal View History

2020-04-03 13:23:32 +00:00
---
2022-08-28 14:53:34 +00:00
slug: /en/sql-reference/functions/machine-learning-functions
sidebar_position: 64
sidebar_label: Machine Learning
2020-04-03 13:23:32 +00:00
---
2022-06-02 10:55:18 +00:00
# Machine Learning Functions
2020-04-03 13:23:32 +00:00
2022-06-02 10:55:18 +00:00
## evalMLMethod
2020-04-03 13:23:32 +00:00
Prediction using fitted regression models uses `evalMLMethod` function. See link in `linearRegression`.
2022-06-02 10:55:18 +00:00
## stochasticLinearRegression
2020-04-03 13:23:32 +00:00
The [stochasticLinearRegression](../../sql-reference/aggregate-functions/reference/stochasticlinearregression.md#agg_functions-stochasticlinearregression) aggregate function implements stochastic gradient descent method using linear model and MSE loss function. Uses `evalMLMethod` to predict on new data.
2020-04-03 13:23:32 +00:00
2022-06-02 10:55:18 +00:00
## stochasticLogisticRegression
2020-04-03 13:23:32 +00:00
2021-10-21 18:29:03 +00:00
The [stochasticLogisticRegression](../../sql-reference/aggregate-functions/reference/stochasticlogisticregression.md#agg_functions-stochasticlogisticregression) aggregate function implements stochastic gradient descent method for binary classification problem. Uses `evalMLMethod` to predict on new data.