Machine learning and other gibberish
See also: https://sharing.leima.is
Archives: https://datumorphism.leima.is/amneumarkt/
#stats

#TIL# I learned about this interesting concept called martingale.

> ... at a particular time, the conditional expectation of the next value in the sequence is equal to the present value, regardless of all prior values.

https://en.wikipedia.org/wiki/Martingale_(probability_theory)
#TIL

In PyTorch, conversion from Torch tensors to numpy arrays is very fast on CPUs, though torch tensors and numpy arrays are very different things. This is because of the Python buffer protocol. The protocol makes it possible to use binary data directly from C without copying the object.

https://docs.python.org/3/c-api/buffer.htm

Reference:
Eli Stevens Luca Antiga. Deep Learning with PyTorch: Build, Train, and Tune Neural Networks Using Python Tools. Simon and Schuster, 2020;
#git
https://mergebase.com/doing-git-wrong/2018/03/07/fun-with-git-pull-rebase/

> Some people claim “git fetch; git rebase origin/master” is equivalent to “git pull -r”, but it isn’t.

git pull -r also deals with squashes.

#TIL
> Rebase hell happens when several commits on your branch edit the same area, and upstream also touched the same area. The problem occurs because each conflict resolution will itself conflict with the subsequent commit in the series.
#TIL

https://www.reddit.com/r/todayilearned/comments/l4y427/til_larry_hillblom_the_h_of_dhl_regularly_took/

> TIL Larry Hillblom, the H of DHL, regularly took "sex safari" trips to Asia to prey on underage girls. When he died in a plane crash, 4 of the illegitimate children he fathered were able to claim $50 million each from his estate. From the todayilearned community on Reddit: TIL Larry Hillblom, the H of DHL, regularly took
 
 
Back to Top