How to merge topic model with original dataset #1953
Unanswered
joshedOpenAi
asked this question in
Q&A
Replies: 1 comment
-
The output of BERTopic, generally a variable named |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Looking for best practices to merge topic model data with the original dataset
Example:
Lets say I have a dataset
data = {
'Feedback': ['Great product', 'Needs improvement', 'Love it', 'Not satisfied'],
'UserClass': ['Promoter', 'Detractor', 'Promoter', 'Passive'],
'Date': ['2022-01-01', '2022-01-02', '2022-01-03', '2022-01-04']
}
After topic modeling how to I map the topic documents back to the original data set to slice data based on Userclass in this dataframe
Beta Was this translation helpful? Give feedback.
All reactions