Re:Show HN: Detecting the Programming Language of Code Using...
by sweezyjeezy on Monday July 18, 2016 @01:07PM
(#12116402)
This seems like it's probably massive overkill, have you compared with a simple bag-of-words linear classifier?
[ Parent
| on HN ]
Re:Show HN: Detecting the Programming Language of Code Using...
by nicolewhite on Monday July 18, 2016 @01:40PM
(#12116687)
Not necessarily overkill; maybe they wanted to learn how to use neural networks and this was a good project to do that. Simple is best for professional projects, but for personal projects like this it's better for you to explore something you don't know already for learning purposes.
Re:Show HN: Detecting the Programming Language of Code Using...
by pprogrammer on Monday July 18, 2016 @01:13PM
(#12116458)
I tried a linear classifier, yes. It works decent too, but has lower accuracy when using a big dataset (+/- 98% top-1 accuracy vs. 99.4%).