machine-learning-functions.md 1.0 KB
Newer Older
I
Ivan Blinkov 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13
---
toc_priority: 64
toc_title: Machine Learning Functions
---

# Machine Learning Functions {#machine-learning-functions}

## evalMLMethod (prediction) {#machine_learning_methods-evalmlmethod}

Prediction using fitted regression models uses `evalMLMethod` function. See link in `linearRegression`.

### Stochastic Linear Regression {#stochastic-linear-regression}

14
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.
I
Ivan Blinkov 已提交
15 16 17

### Stochastic Logistic Regression {#stochastic-logistic-regression}

18
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.