An empirical ensemble based virtual sensor system (VS) for the estimation of an amount of water (C) or oil (A) in a fluid mixture, said virtual sensor comprising two or more empirical models (NN1, NN2, . . . , NNn). The amount is estimated in each of the empirical models (NN1, NN2, . . . , NNn), and a combination function combines (f) the results from the empirical models (NN1, NN2, . . . , NNn) to provide a combined estimate for the amount (yR) that is more accurate than the estimated amount (y1, y2, . . . , yn) from each of the individual empirical models (NN1, NN2, . . . , NNn). The total performance of the virtual sensor system may be increased by increasing the number of empirical models (NN1, NN2, . . . , NNn).