Archive
Anything blog about Python
Full Stack Deep Learning Notes - Lecture 03 - Recurrent Neural Network
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.
Microsoft Azure - DP100
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.
Create python command line in few lines, and use it anywhere as a standalone tool!
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.
Optimizing pandas - Reducing 90% memory footprint - updated version
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