News for hackers. Stuff that matters.
Re:Deep Learning at x.ai by corndoge on Friday March 25, 2016 @11:15AM (#11360481)
This article is the ML equivalent of Hello World.
Re:Deep Learning at x.ai by zardo on Friday March 25, 2016 @11:52AM (#11360753)
So where does my MNIST classifier fall? The ML equivalent of opening a text editor?
Re:Deep Learning at x.ai by paulgb on Friday March 25, 2016 @12:09PM (#11360853)
It's the FizzBuzz.
Re:Deep Learning at x.ai by diskcat on Friday March 25, 2016 @11:19AM (#11360514)
Hello World is not trivial if you are writing it in java.
Re:Deep Learning at x.ai by minimaxir on Friday March 25, 2016 @11:25AM (#11360566)
Not a great analogy. It's still one line of code; just a very stupid one line of code. [System.out.println("Hello World"))]
Re:Deep Learning at x.ai by yummyfajitas on Friday March 25, 2016 @11:39AM (#11360686)
It's not even a stupid line of code - it's just a line of code which happens to namespace things which most other languages don't.

System is a global object which handles various pieces of the runtime system. One variable on this object is `out` (of type PrintStream) which represents stdout. The `println` method of PrintStream actually does the work.

I get why this seems overly verbose in comparison to Python and similar languages, but I don't think it's stupid. It's just emphasizing explicitness and uniformity over brevity.