sklearn and OneAPI

0 0
  • 0 Collaborators

Use sklearn and oneapi ...learn more

Project status: Published/In Market

oneAPI

Intel Technologies
oneAPI

Code Samples [1]

Overview / Usage

Compare sklearn and oneapi

Methodology / Approach

接下来,使用Scikit-learn的LinearRegression模型对训练集进行拟合,并使用训练好的模型对测试集进行预测。然后,使用mean\_squared\_error函数计算Scikit-learn的均方误差(MSE)。

然后,使用OneAPI的linear\_regression\_traininglinear\_regression\_prediction函数在训练集和测试集上执行线性回归。最后,使用mean\_squared\_error函数计算OneAPI的均方误差(MSE)。

将Scikit-learn和OneAPI的均方误差打印出来进行比较。

Technologies Used

python

oneapi

sklearn

Repository

https://github.com/tao011110/OneAPI/tree/master

Comments (0)