ClickHouse/docs/en/sql-reference/functions/machine-learning-functions.md
2022-08-28 10:53:34 -04:00

19 lines
950 B
Markdown

---
slug: /en/sql-reference/functions/machine-learning-functions
sidebar_position: 64
sidebar_label: Machine Learning
---
# Machine Learning Functions
## evalMLMethod
Prediction using fitted regression models uses `evalMLMethod` function. See link in `linearRegression`.
## stochasticLinearRegression
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.
## stochasticLogisticRegression
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.