UNQ_C2: Determining Positive and Negative Targets


I’m struggling to get the target_pos and target_neg. How do we determine the labels given the tensor? How are the two categories determined based on the information from the tensors?

I found the answer. The number of times a tweet is positive or negative is n_to_take times, and that you should multiply [1] and [0] n_to_take times respectively