Matrix multiplication in NumPy: @ vs *, and the shape error everyone hits
Why A @ B and A * B give completely different answers, what "shapes not aligned" really means, and the one rule that makes matrix shapes click for good.
Loading, cleaning and reshaping data with pandas and NumPy — including the array shapes that trip everyone up.
Why A @ B and A * B give completely different answers, what "shapes not aligned" really means, and the one rule that makes matrix shapes click for good.
Your dataset is a matrix, a model is a matrix, and training is matrix multiplication repeated. Six operations, drawn out, with the ML job each one does.
Ten pandas fixes for the problems every real dataset has: broken headers, duplicate rows, mixed types, silly outliers and inconsistent categories.
Newsletter
Free essays on learning, Python, and ML — no account required. We’ll only email when there’s something worth reading.