Planet Python RSS
214 subscribers
17K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Programiz: Python Program to Access Index of a List Using for Loop

Link: https://www.programiz.com/python-programming/examples/index-for-loop

In this example, you will learn to access the index of a list using a for loop.
Programiz: Python Program to Make a Flattened List from Nested List

Link: https://www.programiz.com/python-programming/examples/flatten-nested-list

In this example, you will learn to make a flattened list from a nested list in Python.
Real Python: The Real Python Podcast – Episode #54: Building a Neural Network and How to Write Tests in Python

Link: https://realpython.com/podcasts/rpp/54/

Do you know how a neural network functions? What goes into building one from scratch using Python? This week on the show, David Amos is back, and he's brought another batch of PyCoder's Weekly article
Stack Abuse: Matplotlib Scatter Plot with Distribution Plots (Joint Plot) - Tutorial and Examples

Link: https://stackabuse.com/matplotlib-scatter-plot-with-distribution-plots-histograms-jointplot/

Introduction
There are many data visualization libraries in Python, yet Matplotlib is the most popular library out of all of them. Matplotlib’s popularity is due to its reliability and utility - it's
PyBites: And now for something completely different... MicroPython!

Link: https://pybit.es/micropython.html

Don't ask why, don't ask how, but I recently found myself purchasing a bunch of microcontrollers and circuitboards again!
Today, I'll take you with me on my path through the circuits of the ESP32-CAM!
Ben Cook: SageMaker Studio Quick Start

Link: https://jbencook.com/sagemaker-studio-quick-start/

A step-by-step quick start guide for SageMaker Studio. Start a Studio session, launch a notebook on a GPU instance and run object detection inference with a detectron2 pre-trained model.
The post Sage
Ben Cook: NumPy Meshgrid: Understanding np.meshgrid()

Link: https://jbencook.com/numpy-meshgrid/

You can create multi-dimensional coordinate arrays using the np.meshgrid() function, which is also available in PyTorch and TensorFlow. But watch out! PyTorch uses different indexing by default so the
Ben Cook: Linear Interpolation in Python: An np.interp() Example

Link: https://jbencook.com/numpy-interpolate/

It's easy to linearly interpolate a 1-dimensional set of points in Python using the np.interp() function from NumPy.
The post Linear Interpolation in Python: An np.interp() Example appeared first on j
Ben Cook: Filtering DataFrames with the .query() Method in Pandas

Link: https://jbencook.com/pandas-query/

Pandas provides a .query() method on DataFrame's with a convenient string syntax for filtering DataFrames. This post describes the method and gives simple usage examples.
The post Filtering DataFrames
Ben Cook: Binary Cross Entropy Explained

Link: https://jbencook.com/binary-cross-entropy/

A simple NumPy implementation of the binary cross entropy loss function and some intuition about why it works.
The post Binary Cross Entropy Explained appeared first on jbencook.
Ben Cook: NumPy All: Understanding np.all()

Link: https://jbencook.com/numpy-all/

The np.all() function tests whether all elements in a NumPy array evaluate to true.
The post NumPy All: Understanding np.all() appeared first on jbencook.
Ben Cook: Finding the Mode of an Empirical Continuous Distribution

Link: https://jbencook.com/mode-of-continuous-distribution/

You can find the mode of an empirical continuous distribution by plotting the histogram and looking for the maximum bin.
The post Finding the Mode of an Empirical Continuous Distribution appeared firs
Ben Cook: NumPy Where: Understanding np.where()

Link: https://jbencook.com/numpy-where/

The NumPy where function is like a vectorized switch that you can use to combine two arrays.
The post NumPy Where: Understanding np.where() appeared first on jbencook.
Ben Cook: TorchVision Transforms: Image Preprocessing in PyTorch

Link: https://jbencook.com/torchvision-transforms/

TorchVision, a PyTorch computer vision package, has a great API for image pre-processing in its torchvision.transforms module. This post gives some basic usage examples, describes the API and shows yo