Search found 280 matches

by sean_vn
Jun 08, 2017 4:57
Forum: Linux
Topic: OTT Neural networks
Replies: 0
Views: 803

OTT Neural networks

Much to specialized for most people but anyway you can experiment a little if like: "I was having a problem evolving deep networks where the information loss caused by the dot product weight and sum operations was greater than the computational gains per layer. By allowing more ways for informa...
by sean_vn
Jun 02, 2017 13:23
Forum: Tips and Tricks
Topic: Angle between a vector and binarized version
Replies: 7
Views: 1259

Re: Angle between a vector and binarized version

Nice circle. Whether the angle is 30 degrees, 32 degrees or 37 degrees the point is that that is a "small" angle between 2 vectors in higher dimensional space. It is almost the same as saying they are equal barring some scaling factor. If you pick to vectors at random in higher dimensional...
by sean_vn
Jun 02, 2017 5:08
Forum: Tips and Tricks
Topic: Angle between a vector and binarized version
Replies: 7
Views: 1259

Re: Angle between a vector and binarized version

And actually no. The uniform distribution gives an angle of 30 degrees. A little bit closer. screenres 500,500,32 randomize() dim as single test(65535),binarized(65535) dim as ulong i,j,m=ubound(test) for i=0 to 9 for j=0 to m:test(j)=1!-2!*rnd():next for j=0 to m step 2 var x=test(j)*100 var y=test...
by sean_vn
Jun 02, 2017 4:55
Forum: Tips and Tricks
Topic: Angle between a vector and binarized version
Replies: 7
Views: 1259

Re: Angle between a vector and binarized version

You are right about the hashflip function!!! The wht thing is kinda tricky even though it is only patterns of addition and subtraction. I'll leave it to the BBC to explain it: https://ia600707.us.archive.org/11/items/bbc-rd-reports-1974-07/1974_07.pdf One thing is if you change a single input to the...
by sean_vn
May 30, 2017 16:38
Forum: Tips and Tricks
Topic: Angle between a vector and binarized version
Replies: 7
Views: 1259

Angle between a vector and binarized version

This paper says that the angle between a floating point vector and its binarized counterpart is on average 37 degrees. https://arxiv.org/pdf/1705.07199.pdf Which is "very close" in higher dimensional space. It does need for the information in the vector to be reasonably mixed in some sense...
by sean_vn
May 17, 2017 22:32
Forum: Linux
Topic: Question about gcc internal library
Replies: 10
Views: 1888

Re: Question about gcc internal library

Typically the only situation you will do better than the c compiler ( or Java's hotspot just in time compiler) is when doing something complex/clever using the SIMD instructions like haddps xmm0,xmm1. Even there modern compilers will autovectorize simple loops with the SIMD instructions if they are ...
by sean_vn
May 16, 2017 0:26
Forum: Beginners
Topic: Thread Status without wait
Replies: 2
Views: 572

Re: Thread Status without wait

Oh, yeh. I was using ThreadWait and that's why I wasn't getting memory leaks. If you use neither of ThreadWait or ThreadDetach what happens?
by sean_vn
May 15, 2017 23:39
Forum: Beginners
Topic: Thread Status without wait
Replies: 2
Views: 572

Re: Thread Status without wait

I guess if you want to repeated check if some other thread is running you should use a shared variable like: isRunning as boolean It seems from documentation that you can immediately call ThreadDetach after creating the thread. Like your main thread should set isRunning to true before creating the n...
by sean_vn
May 14, 2017 23:15
Forum: Community Discussion
Topic: Best Programming Language
Replies: 34
Views: 7131

Re: Best Programming Language

It's been shown that if you don't have goto then many complex continue,break style instructions are necessary. I don't know how Dijkstra's personal opinion became law. I think Trump's opinion on the matter would be equally as good.
by sean_vn
May 04, 2017 8:45
Forum: Community Discussion
Topic: False positives; how to reduce chances of your programs being flagged by antivirus software?
Replies: 10
Views: 1372

Re: False positives; how to reduce chances of them occurring for your programs?

Someone once redefined true and false in third party software. I had a very enjoyable time trying to figure out what was "wrong" with my code as a result.
by sean_vn
Apr 24, 2017 16:25
Forum: Tips and Tricks
Topic: Avoiding back-propagation with deep neural nets
Replies: 0
Views: 711

Avoiding back-propagation with deep neural nets

I don't know if this works yet since I just finished the code 8 minutes ago or something. Code= Linux AMD64 but there is a reference paper there too.
https://drive.google.com/open?id=0BwsgMLjV0BnhcGFMZ08tck9hR1E
by sean_vn
Apr 23, 2017 2:49
Forum: Tips and Tricks
Topic: How to use Allocate
Replies: 8
Views: 1812

Re: How to use Allocate

People who are quite happy to max out all N cores on their CPU are ultra conservative with memory usage. If you can gain anything from it then max out memory usage too. It's not 1979 when 64 Kbytes of RAM cost $639.
by sean_vn
Apr 09, 2017 13:46
Forum: General
Topic: Inline assembler
Replies: 48
Views: 7479

Re: Inline assembler

I always use the unaligned SSE move instructions for reg-memory and memory-reg transfers. I didn't notice any difference in speed compared to the aligned ones.
by sean_vn
Mar 13, 2017 15:45
Forum: Community Discussion
Topic: I'm Having a PROBLEM *SOLVED*
Replies: 32
Views: 5571

Re: I'm Having a PROBLEM

I'm having a problem too: "Java or FB, Java or FB, Java or FB...............?"

Go to advanced search