GAME: GAlaxy Machine learning for Emission lines