Before joining UNED, he worked as a postdoctoral research engineer in the renewable energy research group of the prestigious French engineering school Mines ParisTECH, where he was involved in research and management of the European projects ANEMOS.Plus (FP6) and SafeWind (FP7). He obtained a Ramón y Cajal contract in 2013 and subsequently obtained the I3 certificate. He has taught courses in data mining and machine learning at undergraduate and master's level, and supervised master's theses and doctoral dissertations. He has authored or co-authored several dozen publications in high-impact journals.
His research focuses on time series prediction and its applications to non-financial domains such as air quality prediction, traffic prediction or other public health issues. He coordinated the development of SOCAIRE, the air quality forecasting system of the Madrid City Council, as well as PreCoV2.org, a predictive tool for the coronavirus pandemic that was included in the COVID-19 European Forecasting Hub. He directed the EMT/UNED chair in Air Quality and Sustainable Mobility, promoted by the Empresa Municipal de Transportes de Madrid and has collaborated in the creation of the "Science, Territory and Cooperativism" chair sponsored by Zoocánica.