A Python dataclass lets you define classes for storing data with less boilerplate. They allow you to quickly create classes, where you can also add defaults, custom methods, ordering, immutability, inheritance, and even slots.
What is the relationship in statistical hypothesis testing between type I and type II errors, the confusion matrix and the receiver operating characteristic curve of a binary classifier? Let’s find out!
Pydantic is a data validation Python package built on top of the Python typing module, and is designed to be lightweight and extensible. This article aims to introduce Pydantic and offer a few examples of its usefulness.
A simple but useful feature for data visualization in plots is to format the axes accoring to the units of the attributes you are working with, which could just be metric units, currency units or similar.