NLP - Sentiment Analysis Advanced
Consider this Python code snippet combining rule and ML predictions:
rule_pred = [1, 0, 1, 1] ml_pred = [1, 1, 0, 1] combined = [int(r or m) for r, m in zip(rule_pred, ml_pred)] print(combined)What is the output?
