ClickHouse/docs/en/query_language/functions/machine_learning_methods.md

15 lines
746 B
Markdown
Raw Normal View History

2019-05-25 15:51:56 +00:00
# Machine learning methods
## evalMLMethod (prediction)
2019-05-25 15:51:56 +00:00
Prediction using fitted regression models uses `evalMLMethod` function. See link in `linearRegression`.
## Stochastic Linear Regression
2019-05-25 15:51:56 +00:00
`stochasticLinearRegression` aggregate function implements stochastic gradient descent method using linear model and MSE loss function. Uses `evalMLMethod` to predict on new data.
2019-05-25 15:51:56 +00:00
See examples and notes [here](../agg_functions/reference.md#linearregression).
## Stochastic Logistic Regression
`stochasticLogisticRegression` aggregate function implements stochastic gradient descent method for binary classification problem. Uses `evalMLMethod` to predict on new data.
See examples and notes [here](../agg_functions/reference.md#logisticregression).