Studying innovation with patents and machine learning algorithms: a laboratory for engineering students