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.

20 lines
952 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
2023-04-19 17:05:55 +00:00
sidebar_position: 115
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
2023-04-19 17:05:55 +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.