Is the salesman travelling on foot or on an airplane? This article describes an experiment to develop a version of the elastic net algorithm that works on spherical surfaces. I needed it for a computational neuroscience problem, but for those who are mainly interested in machine learning, it also serves a simple and intuitive demonstration of using gradient descent on non-Euclidian surfaces. The Tensorflow source code is available on GitHub. I also made a youtube video showing the algorithm in action.Read more
Just discovered that python’s numerical package has a function for Einstein summation for tensors. In the past, you need that for cosmology. These days you use them for neural networks.