Speech Command Classifier

Can a classifier be as good as a human at classifying speech commands?

1360 words/7 min read
A template workflow with stable data trifurcation, custom loader with multi-level augmentation, CNN with variable learning rate and early stopping followed by the last mile decoding of the softmax output, and of course, evaluation.
Using LSTMs Is Easy

Using LSTMs Is Easy

Make your model understand text just as you would read it -- by learning the sequence of words

276 words/2 min read
We build a Fake News Detection model using Spacy and Keras LSTM.
Python Decorator Pattern

Python Decorator Pattern

Diversify your Python functions by decorating them

235 words/2 min read
Sometimes we need to modify or change the behaviour of a function in a loosely coupled manner. Learn how to do this in this 10-minute video.
Python Factory Pattern

Python Factory Pattern

Find out why this 'anti-pattern' is useful

352 words/2 min read
Experiment with this pattern in a Pythonic way. Use the example code.

Regressor as Classifier

... it works better than you think.

596 words/3 min read

A classifier predicts a categorical target variable while a regressor predicts a continuous response variable. Can we fit a regressor as a classifier? Let’s find out.