Behind the Guardian’s analysis of 100 years of MPs’ language on immigration
The Guardian's analysis shows a notable shift in MPs' sentiments regarding immigration over the last five years, using an innovative machine learning approach to study a century of language.
The Guardian has conducted an extensive analysis revealing a marked shift towards more negative sentiments about immigration among Members of Parliament (MPs) in the House of Commons over the last five years. This analysis was made possible through the collaboration of the Guardian's Data Science and Data Projects teams with University College London. They developed a unique machine learning model that specifically measures sentiments related to immigration, distinguishing it from general emotional language used in parliamentary debates.
The model's development was a meticulous process, beginning with the creation of a list of specialized trigger terms, which were carefully selected by experts in immigration history. This method allowed researchers to filter speeches that were most likely to discuss immigration, thus narrowing their dataset to a focused sample. To ensure the validity and reliability of their findings, the team conducted rigorous testing to eliminate potential biases arising from their keyword selection, thereby enhancing the model's accuracy in gauging sentiment.
This shift in MPs' language and sentiment toward immigration raises significant questions about the evolving political discourse in the UK and its implications for policy-making and public opinion. The findings suggest a possible entrenchment of restrictive views on immigration, which may influence future debates and legislation. As public sentiments often ripple into electoral politics, this analysis provides critical insights into how immigration is becoming an increasingly divisive issue within the UK political landscape.