2017-06-17

Tutorial on basics of Cython

6 mins read The fundamental nature of Cython can be summed up as follows: Cython is Python with C data types. Cython is […]
2017-06-17

Compiling C extension modules on Windows (Cython)

10 mins read This page describes how to compile a Cython extension (works for CPython extensions also) for Windows. If you encounter one […]
2017-06-17

Cythonize setup.py for several .pyx files

3 mins read Concept Distutils is the standard way to build Cython extension modules for large projects. Typically one invokes setup(…) which then […]
2017-06-14

Kernel Density Estimation (KDE) in Python

10 mins read Nonparametric Density Estimation In some cases, a data sample may not resemble a common probability distribution or cannot be easily […]
2017-06-14

Implementations of Mutual Information (MI) and Entropy in Python

8 mins read In probability theory and information theory, the mutual information (MI) of two random variables is a measure of the mutual […]
2017-05-24

A tutorial on Virtual Environments in Python

20 mins read What Virtualenv Is Virtualenv is a great piece of software. It allows creating virtual environments. Each of them can have […]