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

18 lines
1018 B
Markdown
Raw Normal View History

2020-04-03 13:23:32 +00:00
---
toc_priority: 64
2020-06-19 10:20:23 +00:00
toc_title: Machine Learning
2020-04-03 13:23:32 +00:00
---
# Machine Learning Functions {#machine-learning-functions}
2020-06-19 10:20:23 +00:00
## evalMLMethod {#machine_learning_methods-evalmlmethod}
2020-04-03 13:23:32 +00:00
Prediction using fitted regression models uses `evalMLMethod` function. See link in `linearRegression`.
2021-03-16 10:30:05 +00:00
## stochasticLinearRegression {#stochastic-linear-regression}
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
2020-06-19 10:20:23 +00:00
## stochasticLogisticRegression {#stochastic-logistic-regression}
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.