Lifestyle, hobbies, work, rage…
Optimization
I needed to optimize a function for my neural network. How hard could it be? It’s only one function, and it’s <5 lines at that…
After spawning a huge thread, I’m left to wonder: why didn’t I continue learning ML after my functional languages class? Blargh!
Benchmarks after the break…
C#:
Max deviation is 0.001663983 10^7 iterations using Sigmoid1() took 1646.613 ms 10^7 iterations using Sigmoid2() took 237.352 ms C:Max deviation is 0.001664 10^7 iterations using sigmoid1: 628 ms 10^7 iterations using sigmoid2: 157 msF#:Max deviation is 0.001664 10^7 iterations using sigmoid1: 588.843700 ms 10^7 iterations using sigmoid2: 156.626700 ms
| Print article | This entry was posted by Boris on January 6, 2009 at 4:18 pm, and is filed under C#, Programming. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |