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

19 lines
1020 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`.
2020-06-19 10:20:23 +00:00
## stochasticLinearRegressionn {#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
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.