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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: Can We Identify Patterns in Source Code?

5 点作者 mukgupta大约 10 年前
I am a new to Artificial Intelligence and was studying how convolutional neural networks are used for image recognition. Can a similar technique be employed to identify patterns in source code. If yes, we can use such a technique for suggesting the code snippets from the existing code. Now given the amount of open source code we have it would be fair to assume that we can find patterns in code. I understand the complexity of such a system would be huge but I just want to understand if its possible from an AI perspective.

1 comment

galapago大约 10 年前
I believe you can. I know at least one work [1] using a machine learning approach (not really a deep neural work) to unconver vulnerabilities in C code. Btw, maybe a submition to &#x2F;r&#x2F;MachineLearning could be better to start such specific discussion.<p>[1] <a href="https:&#x2F;&#x2F;www.usenix.org&#x2F;conference&#x2F;woot11&#x2F;vulnerability-extrapolation-assisted-discovery-vulnerabilities-using-machine" rel="nofollow">https:&#x2F;&#x2F;www.usenix.org&#x2F;conference&#x2F;woot11&#x2F;vulnerability-extra...</a>