Optimized data collection and analysis process for studying solar-thermal desalination by machine learning