You can calculate the L1 and L2 norms of a vector or the Frobenius norm of a matrix in NumPy with np.linalg.norm(). This post explains the API and gives a few concrete usage examples.
Using and suppressing scientific notation in Python and NumPy.
The unofficial guide to np.tile() with examples.
Sometimes TensorFlow will seem to be installed correctly with pip only to fail when you try to import the package with the message…
You can get the element-wise square of an input with np.square(). This is not exactly the same as x**2.
The unofficial guide to np.random.uniform()
The best way to sort a list of tuples in Python.
A troubleshooting guide for one of the more frustrating TensorFlow exceptions: the dreaded ModuleNotFoundError.
The Keras dense layer can be a little confusing. This post will give you everything you need to start using it.
Everything you ever wanted to know about the numpy square root operation…