The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
Facebook Political ads
deutschland2k
Member Posts: 3 Learner II
Hello,
I am a student at a portuguese University. I had to do a data mining project so I have decided to use the theme "Political ads on Facebook" and I choose the problem "what makes a facebook ad from political nature". For that I obtained a dataset with 160000 lines with Facebook ads, some are political , some are not. So my professor told me this was a classification problem and so I began cleaning the data knowing that the atribute "Message" is probably the GOLD here, because i think the solution is probably there and not in the correlation of other atributes (i don't know if i'm correct). What would my next step be?
Please forgive me if my question is too vague or I do not provide enough information but I have read through the manual and saw the forums but can not find an answer.
I am pretty much lost in this.
Thanks for your time.
Rúben
I am a student at a portuguese University. I had to do a data mining project so I have decided to use the theme "Political ads on Facebook" and I choose the problem "what makes a facebook ad from political nature". For that I obtained a dataset with 160000 lines with Facebook ads, some are political , some are not. So my professor told me this was a classification problem and so I began cleaning the data knowing that the atribute "Message" is probably the GOLD here, because i think the solution is probably there and not in the correlation of other atributes (i don't know if i'm correct). What would my next step be?
Please forgive me if my question is too vague or I do not provide enough information but I have read through the manual and saw the forums but can not find an answer.
I am pretty much lost in this.
Thanks for your time.
Rúben
Tagged:
0
Best Answer
-
BalazsBarany Administrator, Moderator, Employee-RapidMiner, RapidMiner Certified Analyst, RapidMiner Certified Expert Posts: 955 UnicornHi Rúben,
for a classification problem you need "labeled" data. This means in your case that you'll need to manually label (assign a class) a few hundred messages. You can do it in a spreadsheet, just by creating a new column "class" (or whatever you'd like to call it) and filling it with "political" and "not political" (or whatever applies to your problem).
Then you can try AutoModel on the data with text mining ("Extract text information") switched on.
There are also multiple videos on the Academy on classification and text mining.
Regards,
Balázs6
Answers
Thank you for your advices and your response.
So basically I need to manually classify a few hundred messages so I can train my model? Is that the idea behind this? And if so, should I save 2 files, one with classified examples (politcal and not political) and one without classified examples?
I checked multiple videos and understood the logic but I am still stuck somehow.
Rúben
in data mining you typically use one data set and mark the label attribute. In Rapidminer you set the "role" label to mark it.
The data set should have instances of all classes you're trying to predict.
If your data aren't labeled yet, you need to label them somehow. If you can find a corpus of labeled political and non-political messages, you could try building a model from that and apply to your messages, it might work.
Best regards
Balázs