slug: /zh/sql-reference/functions/machine-learning-functions

机器学习函数 {#ji-qi-xue-xi-han-shu}

evalMLMethod(预测) {#machine_learning_methods-evalmlmethod}

使用拟合回归模型的预测请使用evalMLMethod函数。 请参阅linearRegression中的链接。

随机线性回归 {#stochastic-linear-regression}

stochasticLinearRegression聚合函数使用线性模型和MSE损失函数实现随机梯度下降法。 使用evalMLMethod来预测新数据。 请参阅示例和注释此处

随机逻辑回归 {#stochastic-logistic-regression}

stochasticLogisticRegression聚合函数实现了二元分类问题的随机梯度下降法。 使用evalMLMethod来预测新数据。 请参阅示例和注释此处