Recently I needed to identify which of the rows in a CSV file contained 0 values. This was interesting because normally I tend to look at this problem within columns…
-
-
One of the things that may seem confusing in Python is how there appears to be two ways to test if variables are the same: ‘==’ and ‘is’: Both comparison…
-
Did you know that every object in your Python program is given a unique identifier by the interpreter which you can return using the ‘id()’ function? Let’s see what happens…
-
Normally, when I leave an SSH session idle too long and it freezes the terminal, I just close that tab and start a new one. I never bothered to look…
-
One of the things that has been a little frustrating lately has been what to do if you need a legend for your plot, yet there’s so much content on…
-
I recently helped a friend out with a dataset – she was struggling to merge the CSV files from two dataframes in R into one dataframe. I thought this would be…
-
I’ve recently started learning how to apply a Hidden Markov Model (HMM) to some states of honeybee behaviour in my data and have been trying to install Python’s hmmlearn library. Unfortunately I…
-
One of the things you realise once you start learning about machine learning is just how important a well-annotated dataset is that you can use for training. Your predictive model…
-
As part of my PhD project, I have been writing a program in C++ to track hundreds of bees that I have tagged and to identify the pattern on the…
-
Work has kept me pretty busy lately but I’ve been meaning to try put together another post with some of the interesting readings I’ve come across. The first thing I’ll…