Comparison of the efficiency of neural network algorithms in recognition and classification problems