Deep learning under data scarcity in science and engineering applications