Oil holdup of oil-water two-phase flow was measured by using platinum resistance based on the fluid thermal balance equation.In order to improve the measurement accuracy of oil holdup,the effects of the electrical heater fore-and-aft temperature difference of platinum resistance and total oil-water flux on oil holdup were researched.A least squares support vector machine(LSSVM)model with parameters optimized by genetic algorithm(GA)was proposed,the temperature difference and total flux of oil-water two-phase flow were used as inputs,and the oil holdup was used as output of the LSSVM model and the ideal model of oil holdups was obtained.The oil holdup model based on least squares support vector machine and genetic algorithm(LSSVM-GA) was compared with the theory corrected model and good oil holdup measurement results were obtained.The average measurement error was 0.96% in the range of 5% to 60% oil holdup.