TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: TensorFlow vs. Scikit-learn, compare MLP on tabular data

2 点作者 pplonski86超过 4 年前

1 comment

pplonski86超过 4 年前
I get MLP implementation from scikit-learn and compared it with TensorFlow implementation. I used the same hyperparameters and the same optimizer (Adam). I&#x27;ve compared implementations on 114 datasets from Penn ML Benchmarks - they represent binary classification, multiclass classification, and regression. In comparison, I was using the CPU only. The TF was only 59 times out of 114 better than sklearn. I was surprised. The differences in performance weren&#x27;t huge. What is more, the sklearn implementation seems to be about 2 times faster (I was using CPU only).<p>The conclusion is, that if you are already using Sckit-learn and need classic MLP then there is no need to get TensorFlow.