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 →

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 →

How to Deploy Streamlit on Heroku

OpinionFor Endless Possibilities in Data SciencePhoto by Kevin Ku on UnsplashIn a previous post, I predicted that the popularity of Flask would really take a hit once Streamlit comes more into the mainstream. I also made the comment that I would never use Flask again.I still stand by both of these comments.In that time, I’ve made four... Continue Reading →

Ternary Conditional Operators in Python

Mastering Efficient List and Dictionary ComprehensionPhoto by Belinda Fewings on UnsplashPython is versatile to use and its goal is to make development easier for the user. Compared to C# or Java which are notoriously cumbersome to master, Python is relatively easy to get good at. Moreover, it’s relatively easy to get pretty damn good at.List and... Continue Reading →

What does “__name__” mean in Python?

How and why we use __name__=='__main__'Photo by Nick Fewings on UnsplashPython is such a popular language because it’s easy to use and it’s comprehensive. Previously, I covered what the keyword yield was useful for and with some great feedback, I have decided to tackle another key feature: __name__ .Let’s get straight to it.Now quite often you’ll see a... Continue Reading →

Powered by WordPress.com.

Up ↑