Hacker News new | ask | show | jobs
by Jenz 1571 days ago
“Any function” is a big wide claim. Can someone fill me in on what’s required of these functions? Can a neural nets for example compute non-continuous functions like f(x) = [x is rational]?
1 comments

The article says:

> The second caveat is that the class of functions which can be approximated in the way described are the continuous functions. If a function is discontinuous, i.e., makes sudden, sharp jumps, then it won't in general be possible to approximate using a neural net. This is not surprising, since our neural networks compute continuous functions of their input. However, even if the function we'd really like to compute is discontinuous, it's often the case that a continuous approximation is good enough. If that's so, then we can use a neural network. In practice, this is not usually an important limitation.