Icon

Challenge 23 - Testing Your Work

Level: Medium

Description: You and your team are working on a lexicon-based sentiment analysis application, and created a component that encapsulates the calculation of sentiment scores. This component will be re-used in many workflows, so it is important to make sure that it is behaving correctly. A principled way of accomplishing this is through automated unit testing. Given a sample of the data this component receives as input (input golden data), and a small table with the corresponding expected outputs (output golden data), your goal is to create a workflow that automatically tests this component (testflow). Note: Read more about how to perform testing in KNIME here (https://medium.com/low-code-for-advanced-data-science/testflows-in-knime-analytics-platform-539bd6509980). Note 2: Read more about lexicon-based sentiment analysis here (https://www.knime.com/blog/lexicon-based-sentiment-analysis).

Nodes

Extensions

Links