Machine learning and other gibberish
See also: https://sharing.leima.is
Archives: https://datumorphism.leima.is/amneumarkt/
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# 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;
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;
#TIL
How the pandemic changed the way people collaborate.
1. Siloing: From April 2019 to April 2020, modularity, a measure of workgroup siloing, rose around the world.
https://www.microsoft.com/en-us/research/blog/advancing-organizational-science-using-network-machine-learning-to-measure-innovation-in-the-workplace/
How the pandemic changed the way people collaborate.
1. Siloing: From April 2019 to April 2020, modularity, a measure of workgroup siloing, rose around the world.
https://www.microsoft.com/en-us/research/blog/advancing-organizational-science-using-network-machine-learning-to-measure-innovation-in-the-workplace/
#TIL
My cheerful price for the work I am currently doing is very high...
https://www.lesswrong.com/posts/MzKKi7niyEqkBPnyu/your-cheerful-price
My cheerful price for the work I am currently doing is very high...
https://www.lesswrong.com/posts/MzKKi7niyEqkBPnyu/your-cheerful-price
#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.
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.
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.
#TIL
https://stackoverflow.com/a/28142831/1477359
I had the same idea that git fast forward merge is more or less the same as rebase. Until I read this stackoverflow answer.
I guess we should always rebase whenever possible to maintain a clean history.
https://stackoverflow.com/a/28142831/1477359
I had the same idea that git fast forward merge is more or less the same as rebase. Until I read this stackoverflow answer.
I guess we should always rebase whenever possible to maintain a clean history.