Skip to content

Slight performance improvements#36

Open
make wants to merge 3 commits intolvdmaaten:masterfrom
make:slight-performance-improvements
Open

Slight performance improvements#36
make wants to merge 3 commits intolvdmaaten:masterfrom
make:slight-performance-improvements

Conversation

@make
Copy link
Contributor

@make make commented Sep 7, 2016

Found that sqrt is not needed to calculate as inequation
max_width / sqrt(D) < theta
equals to inequation
D > max_width² / theta² (at least when all positive)
and when T = 1 / theta² can be precalculated
finally leads to inequation D > max_width² * T

Seeing about 4% computation time decrease (from 100 seconds to 96 seconds) for learning phase with 1000 iterations for input of 10000 x 200 samples.

@make make force-pushed the slight-performance-improvements branch from cf493b7 to e599275 Compare September 15, 2016 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant