A few months ago, I wrote about my own analysis of the various Twitter accounts for the UK Government cats. As I mentioned at the time, the development of social media has given us the opportunity to understand more about the government cats' public following contemporaneously. In this post, I shall focus on the makeup … Continue reading Most important users of Government Cat Twitter network
If Twitter were a country, Labour would be topping the polls
Interest in the Labour Party on Twitter seem to be growing faster than any other UK political party, according to my analysis. On 21 November, I wrote about how, despite the opinion polls, Labour have been beating the Conservatives in terms of the number and growth of followers of Twitter. Between 9 October and 21 … Continue reading If Twitter were a country, Labour would be topping the polls
Labour beating the Tories…on Twitter
The Conservatives may be leading in the opinion polls, but the Labour Party seem to be generating more interest on Twitter. According to data collected via Twitter's API since 9 October, Labour's Twitter account has continuously had more followers than any other party. It has also seen the greatest increase in the number of followers. … Continue reading Labour beating the Tories…on Twitter
The problem with tactical voting
With weeks to go before a general election, it seems that the political parties are spending as much time telling us whom not to vote for as asking you to vote for them. The Tories warn against Jeremy Corbyn as Prime Minister, rather than extolling the strengths of Boris Johnson. Their argument for not voting … Continue reading The problem with tactical voting
Only the Tories are blocking Brexit
So we are having a general election. If Boris Johnson is to be believed, it's because Parliament is stopping the Government from "getting Brexit done". Guess what? The Tories are lying. The Tories had a chance to support Theresa May's Withdrawal Agreement back in March, in a third meaningful vote. 286 MPs voted in favour … Continue reading Only the Tories are blocking Brexit
Feature Selection in the Ecoli Dataset
Previously, I wrote about cleaning the Ecoli dataset using Python and converting into a dataframe using the pandas library. For this post, I have identified the most important features with regards to machine learning classification. I am not medically or scientifically trained, so I shall discuss the analysis of the dataset in general analytical terms. … Continue reading Feature Selection in the Ecoli Dataset
Who is the most popular government cat?
Every now and again, a story appears in the media about the UK government cats. Most recently, it was reported that the cats may not be fulfilling their primary purpose: catching mice. But one thing they do seem to be good at catching is fans. According to National Archives records, different government cats have amassed … Continue reading Who is the most popular government cat?
So you want to access Twitter data using Python…
As far as public datasets go, Twitter is a true cornucopia. You can access data via Twitter's API using various programming languages (e.g. Java, Python, ColdFusion, etc). Each programming language has their own libraries specifically for interfacing with the Twitter API. The Twitter Developer page list 57 different libraries for 20 different programming languages. There … Continue reading So you want to access Twitter data using Python…
Cleaning the Ecoli dataset using Python
It is relatively easy to read a CSV file using R and Python. It is more of an interesting challenge to clean a dataset that is stored as a text file, or at least stored in a file whose extension does not match the usual formats. Cleaning is not always about removing missing values. Such … Continue reading Cleaning the Ecoli dataset using Python
Should Google be blamed for the sins of foreign news media?
Google could be in trouble with New Zealand prosecutors. It sent an email to to people signed up to its "top trends" service and named the person accused of murdering British backpacker Grace Millane, in violation of a court order. Under New Zealand law, defendants and victims can request temporary anonymity in the run-up to … Continue reading Should Google be blamed for the sins of foreign news media?


