2019-05-08

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 […]
2019-05-08

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 […]
2019-03-26

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 […]
2019-03-25

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. […]
2018-06-01

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 […]
2017-11-08

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 […]
2017-09-08

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 […]
2017-09-08

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, […]
2017-07-29

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