Machine learning methods for modelling the gasification and pyrolysis of biomass and waste