Avro for Big Data, Data Streaming Architectures, and Kafka

16 mins read Introduction Apache Avro™ is a data serialization system. Avro provides: Rich data structures. A compact, fast, binary data format. A […]

What is Apache Kafka?

26 mins read Kafka’s growth is exploding, more than 1⁄3 of all Fortune 500 companies use Kafka. These companies include the top ten travel companies, 7 […]

Complete guide on Logging in Python

17 mins read The Logging Module The logging module in Python is a ready-to-use and powerful module that is designed to meet the needs of […]

Best practices for Python exceptions

9 mins read How do I manually throw/raise an exception in Python? Use the most specific Exception constructor that semantically fits your issue. […]

What is the Region of Interest Pooling?

8 mins read Region of interest pooling (also known as RoI pooling) is an operation widely used in object detection tasks using convolutional […]

Difference between sessions and cookies – Djnago Example

15 mins read Cookie A cookie is just a key-value pair that is stored in the user’s browser. A cookie is sent to […]

Understanding L1 and L2 as Loss Function and Regularization

6 mins read While practicing machine learning, you may have come upon a choice of the mysterious L1 vs L2. Usually, the two […]

Different missing data mechanisms

3 mins read Missing data mechanisms concern the relationship between missing data and the values of variables in the data matrix. Given this focus, […]

A guide on different Bibtex bibliography styles

8 mins read The next two commands are the ones that set the bibliography style and import the bibliography file. See Bibliography management […]

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 […]

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 […]

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 […]

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 […]

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 […]

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 […]