Scripts and datasets for the paper N. Andrianov, A Machine Learning Approach for Virtual Flow Metering and Forecasting, to appear in Proc. of 3rd IFAC Workshop on Automatic Control in Offshore Oil and Gas Production, Esbjerg, Denmark, May 30-June 01, 2018.