I always tend to organize every aspect of my experiments with organizers as useful as Pipeline. However, one shouldn’t be passing continuous variables into a OneHotEncoder or vice versa for Scalers. The solution is, split your data, treat them in separate pipelines before merging them together again. Inspired by Scikit Learn Examples.
Author: Aniruddha Adhikary
Counting Weekends between Two Dates in PostgreSQL
I found myself the problem of counting the occurrence of specific “days of the week” between two dates. And thankfully, good old PostgreSQL came to the rescue!
Collecting Documents for Transferring from NSU
Transferring your credits from North South University might seem like a huge bureaucratic mess. But it is not. This post will guide you through the process of collecting the necessary papers for the process.
বাংলা লার্নিং কন্টেন্টের অর্থনীতি
বাংলায় ভাষার শিক্ষণীয় কন্টেন্ট (প্রযুক্তিকেন্দ্রিক) কেন বিনামূল্যে / ফ্রি-তে বিতরণ করা অপেক্ষাকৃত কঠিন? ইংরেজি ভাষার ভালো ফ্রি কন্টেন্ট যেখানে অহরহ পাওয়া যায়, সেখানে আমাদের সমস্যাটা কোথায়?
GP launched 013: Update your RegExp!
Grameenphone quietly rolled out its 013 series of numbers and it wrecked everything. No web service, including Google is working with this 013 series of numbers. Its time for developers to fix this mess and update every validation logic you may have for validating mobile numbers or MSISDNs. I enlisted a few RegExps for de-terrorizing… Continue reading GP launched 013: Update your RegExp!
Flask-like “global” request context in Sanic (asyncio)
Although something like Flask’s globally accessible request object is considered a terrible way of writing code (explicit is better than implicit), sometimes it makes sense to use it. For example, while passing a Correlation-ID to track a request’s life cycle through your micro-services.
pyenv build depencies on Ubuntu
pyenv can get particularly annoying during building Python. Dependencies are often missing resulting in failed builds. This short blog post is outlining the required dependencies to reduce headaches for future me, and anyone else reading this.
ইএমআই / ইন্সটলমেন্ট / কিস্তি-এর সমস্যা: ০% হোক বা না হোক
সাধ্যের বাইরের জিনিস কেনার একটি জনপ্রিয় মাধ্যম হল ইন্সটলমেন্ট বা কিস্তি। অনেক শোরুমেই আজকাল ইন্সটলমেন্ট-এ বিভিন্ন পণ্য ক্রয় করা যায়। কিন্তু, ব্যাপারটা একবার খেয়াল করে দেখুন, “সাধ্যের বাইরে থাকা একটি জিনিস ক্রয় করা।” অর্থাৎ, যা আপনার ক্রয় করার কথা না, যা আদতেই আপনার বাজেটের সাথে যায় না, তা আপনি ক্রয় করতে পারছেন।
Viewing OpenCV matrices with matplotlib (w/ Jupyter Notebook)
Using matplotlib alongside OpenCV to render results in Jupyter Notebook. We will be using pyplot.imshow to render images within the browser interface for easier interaction and usage.
Reading Bangladeshi NID and Smart Cards with ZXing
Bangladeshi NID and Smart Cards come printed with a 2D Datamatrix Barcode, known as PDF417. The information on the cards can be extracted without using an OCR solution through the barcode. We’ll be using Google’s ZXing library; learn about the basics of using it.