Text this: A predictive model for the identification of the volume fraction in two-phase flow