Deep learning algorithms without pre-training