TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: What's the 'Hello World' program of neural networks?

20 pointsby essofluffyabout 9 years ago

9 comments

mimo777about 9 years ago
MNIST data, which is the hand written number data. Download Tensorflow and do the examples. You will find it there.
wayn3about 9 years ago
Tensorflow has a whole bunch of tutorials, but those are the &quot;Hello World&quot;s of tensorflow, not of neural networks.<p>In order to get started with neural networks, begin with drawing simple neural nets for basic operations like addition, multiplication, XOR. Just represent boolean tables as neural networks.<p>Once you can do that, move on to implementing the algorithm yourself. A simple 3 layer network is enough to understand how the concept works. 4&#x2F;2&#x2F;2 nodes is plenty. Just understand how the calculations work.<p>Then move on to a framework - only after you understood the math. The machine learning course on coursera by Andrew Ng(?) explains the algorithms.
abee1331about 9 years ago
XOR for fully connected networks, and mnist for convolutional networks
argonautabout 9 years ago
Make sure to implement backprop yourself: don&#x27;t use Tensorflow, just use numpy and write out the matrix multiplications yourself.
评论 #11730352 未加载
malux85about 9 years ago
Probably the XOR dataset.
Wonnk13about 9 years ago
Not trying to be a smartass, if &quot;Hello, World&quot; is the most basic program, why would a single layer perceptron model not be what OP is looking for?
评论 #11729628 未加载
billconanabout 9 years ago
1. using a simple nn to do xor bit operation<p>2. mnist hand written digit recognition
max_about 9 years ago
XoR
imakesnowflakesabout 9 years ago
I once implemented a simple back propagation algorithm in Haskell (without any libraries) that could identify the pattern (one amoung &#x27;A&#x27;, &#x27;B&#x27;, &#x27;C&#x27; or &#x27;D&#x27;) represented on an 8x8 matrix...<p>Here is the code..<p><a href="https:&#x2F;&#x2F;bitbucket.org&#x2F;sras&#x2F;haskell-stuff&#x2F;src&#x2F;b58f3fc017ce303fd9733184f599e916739f6ed2&#x2F;snn.hs?at=default&amp;fileviewer=file-view-default" rel="nofollow">https:&#x2F;&#x2F;bitbucket.org&#x2F;sras&#x2F;haskell-stuff&#x2F;src&#x2F;b58f3fc017ce303...</a>