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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: Why are most ML and AI projects written in Python?

5 点作者 roh26it大约 8 年前
Does it have an inherent advantage?<p>Most people just happened to write the libraries in it for other people to build on?<p>Something else?

2 条评论

urlwolf大约 8 年前
Python has good bindings to venerable libraries in C and fortran that nobody would want to implement from scratch. Python libs like numpy and scipy were very convenient ways to call the highly optimized code in say BLAS. Then scikit-learn came and made machine learning easy for the masses. Before, libs in R would provide different methods but they were anything but unified (things like CARET notwithstanding).<p>In the last 2-3 years the main driver was deep learning. Since the whole point was to run on a GPU and CUDA remains a pain of low-level C, python made it very palatable.<p>R has lost the race by not jumping on the deep learning train. Scala shows promise because of Spark, its killer app.
评论 #14091572 未加载
davelnewton大约 8 年前
Reasonable language, well-known libraries.<p>There are other approaches in other languages that are gaining ground, but little offer the &quot;easy in&quot; that numpy&#x2F;scipy&#x2F;pandas provides.
评论 #14091563 未加载