Gastric Tract Disease Recognition Using Optimized Deep Learning Features