Detecting racism using Machine Learning Models
A while ago I posted on Twitter that I could create a social media racism detector in a day. This was following the racial abuse that was targeted towards Rashford, Sako and Sancho following the EURO football final. Along with everyone else, I was saddened by the reactions, especially considering it really is only a game. The model did however take longer than a day - purely because it took me forever to get my M1 mac working with TensorFlow as I had to recompile it for the chipset. M1 issues are something for another day. With the challenge accepted I set about to create a Machine Learning model/algoritm that could be used to support racism detection. Like everything machine learning related it isn't perfect and took a bit of trial and error but I now have a working prototype. The model uses very simple python dictionaries at this stage and a TensorFlow race recognition model, along with an instagram API from API Rapid to pull the posts for a particular individual (marcusr