This problem involves classifying text as having positive or negative sentiment. **Example:** Classifying the text 'I love this product' as positive. **Constraints:** The input will be a string and the output should be 'positive' or 'negative'. The model should be trained on a dataset of labeled text examples.
Test Cases
Test Case 1
Input:
'I love this product'Expected:
'positive'Test Case 2
Input:
'I hate this product'Expected:
'negative'+ 3 hidden test cases