Machine learning prediction of electron density and temperature from He I line ratios.