Custom Algorithm Based On Deep Learning