Category Archives: software

Independent code review of the Imperial College’s Corona Model

Independent code review of Professor Feguson’s Corona model This is indeed interesting reading. For anyone who’s done any amount of professional coding, it’s clear – given that what the article claims is correct – that the robustness of the code … Continue reading

Posted in Data Analytics, development, Epidemics, software | Tagged , , , | Leave a comment

Stay smart, write code

Interesting article on the mental benefits of writing code: https://www.makeuseof.com/tag/how-programming-affects-brain/

Posted in software | Tagged | Leave a comment

Wind Speed Distribution – is it Normal…?

As a sailor, I’ve become obsessed by wind. Trying to understand its behavior has kept me busy for decades, and still, I can’t claim I fully understand wind behavior. Anyways, one of the things I’ve wondered is whether wind is … Continue reading

Posted in Data Analytics, development, Nautical Information Systems, Probability, Python, software, Statistics | Tagged , , , , , , , | 3 Comments

Improving Python performance by factor of 100

I’m doing a bit of Machine Learning on my spare time. A neural network that analyzes images. Anyways, since I don’t have zillions of computing power, any decent amount of learning data takes hours and days to process thru my … Continue reading

Posted in AI, Complex Systems, development, Machine Learning, Neural networks, performance, software | Tagged , , , , , , | 1 Comment

Facial detection using OpenCV & Python on Windows7-Cygwin64

Finally! As described in my previous post, I had some struggle getting OpenCV to run at all under my Windows7 / Cygwin64 installation, but eventually I managed getting it working for C++. However, Python still refused to cooperate with OpenCV, … Continue reading

Posted in development, software | Tagged , , , | Leave a comment

Python image processing – object recognition

When looking for a function enabling me to do normalized cross correlation of images, for purposes of object recognition, I stumbled upon an extension to the SciPy library: SciKit-image. After a few minutes of browsing that site I was able … Continue reading

Posted in development, Math, software | Tagged , , | Leave a comment

image processing – convolution explained.

The Python code below demonstrates convolution.  First, using Scipy’s convolve() function, then by two – far from optimal, far from high performance!  – ‘invented-here’ implementations of convolve(), that I hacked in order to understand what Scipy’s convolve() actually does. The … Continue reading

Posted in development, software | Tagged , , , | Leave a comment

Image processing with Python, Numpy & Scipy – image convolution

I spent a few hours tonight learning the basics of image processing. In particular, I wanted to understand convolution, that is, a techique for applying various types of filters to images. I’m not going to cover all the nitty gritty … Continue reading

Posted in development, Math, software | Tagged , , | 3 Comments

Simple image processing with Python, Numpy & Matplotlib

When I saw the topmost image on the Russian riot police, I just had to do a simple image transformation, more specifically, a reflection, to produce a mirror image. Numpy’s powerful functions makes such a tranformation very simple.   import … Continue reading

Posted in development, software | Tagged , , | Leave a comment

Optimization: 100x performance boost (even without DevOps!) :-)

(First of all, apologies for the mention of ‘DevOps’ above:this post has, as far as I can tell – since I really don’t know what DevOps is, haven’t found any place where to download it… – nothing what so ever … Continue reading

Posted in development, Math, software | Tagged , , , , , , | 1 Comment