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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: Python or JavaScript for Learning Artificial Intelligence?

6 点作者 jozi9超过 10 年前

6 条评论

achompas超过 10 年前
It&#x27;s no contest: you want to learn Python.<p>Other commenters (or their links) haven&#x27;t mentioned Theano, which is excellent for deep learning, so I&#x27;ll contribute that to the discussion.
bluerail超过 10 年前
I would say Python.<p>I am no expert in neither Python nor JS. But, the AI community really seems to be obsessed with Python and moreover many specific libraries [1] are available in Python that concentrates on AI alone.<p>On the contrary, AI in JS is mainly being used in games and like.<p>[1] - <a href="https://wiki.python.org/moin/PythonForArtificialIntelligence" rel="nofollow">https:&#x2F;&#x2F;wiki.python.org&#x2F;moin&#x2F;PythonForArtificialIntelligence</a>
3pt14159超过 10 年前
This shouldn&#x27;t even be a question. Python has, just off the top of my head:<p>1. Numpy<p>2. Scipy<p>3. Pandas<p>4. Orange<p>5. Gensim<p>6. Scikit-Learn<p>7. NLTK<p>What does JavaScript have that even comes close?
vinujoseph超过 10 年前
I would go for Python. It provides more flexible approach for coding and the AI community seems to be revolving more around Python.
andrewchambers超过 10 年前
Python by far in my opinion.
rayalez超过 10 年前
Definitely python. I think it is the best language to learn AI, it is simple and has so much great libraries and learning resources!