Learning Curves for Analysis of Deep Networks