Pytest: A Testing Framework for Python Code Photo by Ratanjot Singh on Unsplash How can you check that your code changes actually achieve what they’re meant to? Ensuring your code has integrity is actually quite difficult to ensure, especially at scale. Usually you’ll work in a large team with different people working on different parts of the system.... Continue Reading →
The Top 4 Virtual Environments in Python for Data Scientists
Which Environment Is Yours?Photo by Shahadat Rahman on UnsplashVirtual Environments are a relatively difficult thing for new programmers to understand. One problem I had in understanding Virtual Environments was that I could see my environment existed within an MacOS framework, I was using PyCharm and my code was running, what else did I need?However, as your career... Continue Reading →
You’re living in 1985 if you don’t use Docker for your Data Science Projects
What is it Docker and How to to use it with PythonPhoto by Iswanto Arif on UnsplashOne of the hardest problems that new programmers face is understanding the concept of an ‘environment’. An environment is what you could say, the system that you code within. In principal it sounds easy, but later on in your career you... Continue Reading →
The Future of AI is in Model Compression
New research can reduce the size of your neural net in a super easy wayPhoto by Markus Spiske on UnsplashThe future looks towards running deep learning algorithms on more compact devices as any improvements in this space make for big leaps in the usability of AI.If a Raspberry Pi could run large neural networks, then artificial intelligence... Continue Reading →
If 2Pac Spoke the Queen’s English
Machine Learning, ProgrammingWhat is Neural Text-Style Transfer?Photo by Jan Střecha on UnsplashIf 2Pac was only allowed to release music under the pretence that his style was to match the Queen’s English, the world would have been a significantly worse place.The advent of Style transfer (the ability to project a style of one text to another) means... Continue Reading →
Python’s Raise Keyword
How to manually throw an exception in PythonPhoto by Jonathan Daniels on UnsplashException handling in Python can be daunting. I find it particularly difficult because as a researcher, I’m just not very good at thinking like a ‘programmer’ should. I’m thinking more about the speed of my optimisation procedures, rather than ‘is my code handling all edge... Continue Reading →
The Difference between “is” and “==” in Python
Equality and IdentityPhoto by Mr Xerty on UnsplashPython is full of neat tips and tricks and something worth noting are the different ways to indicate equality, and how these specific two ways are different.The == and is command both indicate some form of equality and are often used interchangeably. However, this isn’t exactly correct. To be clear,... Continue Reading →
Is GPT-3 ‘Human’?
Natural Language ProcessingNeural Language Models and the Turing TestPhoto by Armin Lotfi on UnsplashPassing the Turing Test is a goal that many in the machine learning community hope for. It’s a test which if passed, indicates that the behavior of an AI is in-differentiable from a Human Being. In many cases, many applications in machine learning achieve... Continue Reading →
Why the RepNet is so important
Using Deep Learning to Count RepetitionsPhoto by Efe Kurnaz on UnsplashIn our daily lives, repeating actions occur frequently. This ranges from organic cycles such as heartbeats and breathing, through programming and manufacturing, to planetary cycles like day-night rotation and seasons.The need to recognise these repetitions, like those in videos, is unavoidable and requires a system that... Continue Reading →
What is CICD? Where is it in 2020?
OpinionAn in-depth look at the growing marketPhoto by Robynne Hu on UnsplashCICD is a development methodology which has become more important over time. In today’s software driven world, development teams are tasked with delivering applications quickly, consistently, and error-free: every single time.While the challenges are plentiful, CI/CD is simple at its core.For many organisations, achieving true continuous delivery... Continue Reading →