Unsupervised Filtering Exercise
Since I used roberta which uses subword tokens trained on twitter, I didn't clean the data too much. I used clean tweets, deduplicated. I replace company cashtag and name with generic token to prevent duplicates in data. That left me with 4,699,045 unlabeled samples. My EDA process can be found in jupyter notebooks, attached.
P.S. Note that your list data was saved as strings for some reason.
To run the pipeline, use full_process function from classify.py.
Final results are in class_labeled.csv.gzip file for full dataframe with predicted probabilities (not attached due to size),
and filtered_twitter_data.csv (attached) for selected 5K samples.
I use a two-stage pipeline:
knn_pseudolabel.py. The recall was
relatively small (~5-10%).1 commits
Jupyter Notebook
97.7%
Python
2.3%
Unsupervised Filtering Exercise
Since I used roberta which uses subword tokens trained on twitter, I didn't clean the data too much. I used clean tweets, deduplicated. I replace company cashtag and name with generic token to prevent duplicates in data. That left me with 4,699,045 unlabeled samples. My EDA process can be found in jupyter notebooks, attached.
P.S. Note that your list data was saved as strings for some reason.
To run the pipeline, use full_process function from classify.py.
Final results are in class_labeled.csv.gzip file for full dataframe with predicted probabilities (not attached due to size),
and filtered_twitter_data.csv (attached) for selected 5K samples.
I use a two-stage pipeline:
knn_pseudolabel.py. The recall was
relatively small (~5-10%).1 commits
Jupyter Notebook
97.7%
Python
2.3%