In this paper, a shallow Ritz-type neural network for solving elliptic equations with delta function singular sources on an interface is developed. There are three novel features in the present work; namely, (i) singularity naturally removed, (ii) level set introduced as feature input, (iii) it completely shallow, comprising only one hidden layer. We first introduce energy functional of problem...