Marc J. Schmidt

Results 407 comments of Marc J. Schmidt

Thanks @jorangreef! But the problem is, I use Electron as well, but not with ASAR though 😅

Give [Marshal.ts](https://github.com/marcj/marshal.ts) a try, it covers what you need, is maintained and is the fastest serializer.

It seems this isn't supported with ts-node.

Oh, nevermind it works. For `ts-node` you just have to use additionally .tsx and .ts extensions, e.g. ```typescript addHook(transform, {exts: ['.js', '.tsx', '.ts']}); ```

For me this pull-request does not work. Here a simple example: ``` javascript net.train([{input: [1, 1], output: [0]}]); //trains 1,1 => 0 net.runInput([1, 1]); //results 0.0702838678761908 => correct net.train([{input: [1,...

Well, as I said > I've simply commented out this this.initialize() call, so it never gets initialized. What I mean with that is that I deleted the line `this.initialize(sizes);` manually,...

Is there a reason why you only use one iteration for the second training? I guess with such low iterations the network has no chance to learn enough to get...

@antoniodeluca, well I called `this.initialize()` on my own in my userland code of course, so the network is initialized after is has been created. Can you confirm this behavior of...

Actually, I'm not planning it, but it would be of course nice to have. So feel free to send a PR, if you have the motivation to implement it.

Not yet implemented, but I've done another library for Typescript with the same functionality. There is `controller as` syntax available: https://github.com/marcj/angular-typescript-decorators