Prediction and experimental study of gas-water-foam three-phase flow patterns in vertical wells using BKA-BP neural network | Synapse