Deep learning method