Re: Atom in macros ==> Can't embed object in code

2017-04-07 Thread James Reeves
Why don't you put the "let" that defines the atom counter inside the quoted form? - James On 7 April 2017 at 22:21, Max Muranov wrote: > I need to create logger for machine learning debugging. First, I wanted to > perform this string: > > (create-logger 10 "Epoch #" :epoch

Atom in macros ==> Can't embed object in code

2017-04-07 Thread Max Muranov
I need to create logger for machine learning debugging. First, I wanted to perform this string: (create-logger 10 "Epoch #" :epoch ", Error: " :error) This code will cause this output while training: Epoch #10, Error: 2.0 Epoch #20, Error: 1.0 Epoch #30, Error: 0.0 Epoch #40, Error: 0.0 ... I