Text this: Comparison of the efficiency of zero and first order minimization methods in neural networks