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

14 lines
882 B
Markdown
Raw Normal View History

2020-03-20 10:10:48 +00:00
# Machine learning functions {#machine-learning-functions}
## evalMLMethod (prediction) {#machine-learning-methods-evalmlmethod}
Prediction using fitted regression models uses `evalMLMethod` function. See link in `linearRegression`.
2020-03-20 10:10:48 +00:00
### Stochastic Linear Regression {#stochastic-linear-regression}
The [stochasticLinearRegression](../agg_functions/reference.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-03-20 10:10:48 +00:00
### Stochastic Logistic Regression {#stochastic-logistic-regression}
The [stochasticLogisticRegression](../agg_functions/reference.md#agg_functions-stochasticlogisticregression) aggregate function implements stochastic gradient descent method for binary classification problem. Uses `evalMLMethod` to predict on new data.