noklam
  • Blog
  • Archive

Archive

  • Blog
Categories
All (19)
azure (1)
cli (1)
design pattern (1)
fastai (1)
fsdl (2)
kaggle (1)
product (1)
python (10)
python-internal (1)
software (1)
typer (1)

Archive

Anything blog about Python

EuroPython 2022 - Conference Notes & Summary

new is the first step of instance creation. It’s called first,

Blog

Anything blog about Python

Demo of debugging Kedro pipeline with noetebook

Read from stack trace - find out the line of code that produce the error

Testing with Mocking

One of the mainstream mocking library is the standard one from unittest, there are also pytest plugin pytest-mock which wraps on unittest.

Journey of understanding Python and programming language

python

Some unfinished notes about Python lower level details.

Feb 10, 2022
noklam

What can we learn from Shipping Crisis as a Data Scientist?

product

The Long Beach port congestion could teach us a lot about data science in real world.

Nov 18, 2021
noklam

Python FileNotFoundError or You have a really long file path?

python

Today I encountered an interesting bug that I think it is worth to write it down for my future self.

Aug 18, 2021
noklam

5 Minutes Data Science Design Patterns I - Callback

python
design pattern
software

A mini collections of design pattern for Data Science - Starting with callbacks.

Jul 10, 2021
noklam

A logging.config.dictConfig() issue in python

python

logging.config.dictConfig()

Jun 20, 2021
noklam

Python Internal Series - Global Interpreter Lock (GIL) and Memory Management

python-internal

Despite the bad reputation of GIL, it was arguably designed on purpose. The GIL actually comes with a lot of benefit.

May 29, 2021
noklam

Full Stack Deep Learning Notes - Lecture 03 - Recurrent Neural Network

fsdl

Lecture & Lab notes - This lecture is about Recurrent Neural Network. Key concetps included input gate, forget gate, cell state, and output gate. It also explains how attention mechanism works for a encoder-decoder based architecture.

Apr 16, 2021
noklam

Microsoft Azure - DP100

azure

This note helps you to prepare the Azure Assoicate Data Scientist DP-100 exam. I took DP100 in Mar 2021 and includes some important notes for study. Particularly, syntax types questions are very common. You need to study the lab and make sure you understand and remember some syntax to pass this exam.

Mar 27, 2021
noklam

Full Stack Deep Learning Notes - Lecture 01

fsdl

Lecture & Lab notes, explain DataModules, Trainer LightningModule.

Mar 21, 2021

Data Test as CI

python

Unit Test with Pytest. I want to display a full information rich string into my CI Log, but it is trimmed by Python. Here is a simple fix to make it display full string in the log file.

Mar 17, 2021
noklam

Create python command line in few lines, and use it anywhere as a standalone tool!

python
cli
typer

Creating python command line could be useful for a lot of tools. Traditionally, argparse has been used heavily, a new library called typer leverage python type hint, that makes creating command line interface in Python much pleasant.

Dec 10, 2020
noklam

Optimizing pandas - Reducing 90% memory footprint - updated version

python

Have you ever deal with data files that does not fit into your memory? Here is a function that just trim memory footprint for you. This post is base on https://www.dataquest.io/blog/pandas-big-data/ and updated with a new automated functions from https://github.com/ianozsvald/dtype_diet/blob/master/dtype_diet.py

Nov 10, 2020

Lesson learnt from Kaggle - Bengali Image Classification Competition

python
kaggle

My first silver medal on Kaggles Competition - Bengali Image Classification Competition. 10 lessons learn!

Mar 21, 2020

The missing piece in Python tutorial - What is dispatch why you should care

python
fastai

Dispatch is an amazing useful features which is underused in Python. In this article, I will show you how you can use it to make Python more powerful.

Feb 22, 2020

plyer - Desktop Notification with Python

python

Desktop notifiaction with Python

Oct 19, 2019
noklam
No matching items