Planet Python RSS
214 subscribers
17.1K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Stack Abuse: Checking Vulnerabilities in Your Python Code with Bandit

Link: https://34.192.96.215:80/checking-vulnerabilities-in-your-python-code-with-bandit/

Introduction
As developers, we're encouraged from the start of the journey to write clean code. Equally as important, but less talked about is writing and using secure code.
In Python projects, we typ
Talk Python to Me: #318: Measuring your ML impact with CodeCarbon

Link: https://talkpython.fm/episodes/show/318/measuring-your-ml-impact-with-codecarbon

Machine learning has made huge advancements in the past couple of years. We now have ML models helping doctors catch disease early. Google is using ML to suggest traffic routes in their maps app that
AI Pool: Best encoder for mobile segmentation

Link: https://ai-pool.com/d/best_encoder_for_mobile_segmentation

I'm working on a segmentation task and want to have a model on mobile devices. Which model can I use for the encoder part, besides 'MobileNetV3' ? ...
AI Pool: Keras custom layer

Link: https://ai-pool.com/d/keras-custom-layer

I'm using Keras and want to create a custom layer with its trainable weights. What is the proper way to do that?...
AI Pool: Proper way to use batch normalization with keras

Link: https://ai-pool.com/d/proper_way_to_use_batch_normalization_with_keras

What is the right way to use batch normalization of Keras ? I don't use Sequential and have a small block with convolutional and pooling layers....
AI Pool: What is the difference between Sigmoid and Softmax?

Link: https://ai-pool.com/d/what-is-the-difference-between-sigmoid-and-softmax

I'm trying to train a neural network that works for binary classification problem. What is the difference between having a single output with sigmoid and 2 outputs with softmax functions?...
Python Morsels: What is a callable?

Link: https://www.pythonmorsels.com/topics/callables/




Transcript
A callable is an object that you can call.
Functions are callable objects
When you define a function in Python:
>>> def greet(name):
... print("Hi", name)
...

You'll get a function
Test and Code: 155: Four Questions to Ask Frequently During Software Projects - Tim Ottinger

Link: https://testandcode.com/155

Tim Ottinger has four questions that work great in many situations, from doing homework, to cooking, to writing code, to entire software projects.
They are actually awesome questions to ask during a s
Python Pool: Learn About Caesar Cipher in Python

Link: https://www.pythonpool.com/caesar-cipher-python/?utm_source=rss&utm_medium=rss&utm_campaign=caesar-cipher-python

Cryptography is the study of the science behind securely transmitting a message from a sender to a receiver. The goal is to prevent a third party from accessing a message. It is achieved by converting
Weekly Python StackOverflow Report: (cclxxvii) stackoverflow python report

Link: http://python-weekly.blogspot.com/2021/05/cclxxvii-stackoverflow-python-report.html

These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2021-05-29 18:33:34 GMTRemove any empty list present in the list - [10/
AI Pool: Is there a way to visualize Keras model?

Link: https://ai-pool.com/d/is_there_a_way_to_visualize_keras_model_

I'm designing a neural network model and would like to plot the architecture with weights and shapes. How to do that?...
AI Pool: Give some suggestions to avoid overfitting

Link: https://ai-pool.com/d/give_some_suggestions_to_avoid_overfitting

I'm training a neural network that basically does binary classification, but it overfits too fast. After 4-5 epochs it's already in overfitting. What is the reason for it? How to avoid fast overfittin
AI Pool: softmax_cross_entropy_with_logits issue with keras

Link: https://ai-pool.com/d/softmax_cross_entropy_with_logits_issue_with_keras

I'm using Keras with TensorFlow backend and using cross-entropy as the loss function. I saw that TensorFlow requires pre softmax as an input for the loss, but I put the output of the softmax in
AI Pool: How to convert numbers to one hot vectors?

Link: https://ai-pool.com/d/how_to_convert_numbers_to_one_hot_vectors_

I want to train a Keras model and I use NumPy to convert numbers to a one-hot vector. why Keras does not provide the implementation inside the training process?...
AI Pool: How to freeze tensorflow graph partly?

Link: https://ai-pool.com/d/how_to_freeze_tensorflow_graph_partly_

Couldn't find a way to freeze the TensorFlow graph partly. I just need to freeze a part of the weights of the network....
AI Pool: Introduction of Fast Fourier Transformation (FFT)

Link: https://ai-pool.com/a/s/introduction-of-fast-fourier-transformation--fft

This article comprises of introduction to the Fourier series, Fourier analysis, Fourier transformation, why do we use it, an explanation of the FFT algorithm, and its implementation.
Python Software Foundation: The 2021 Python Language Summit: What Is the stdlib?

Link: http://feedproxy.google.com/~r/PythonSoftwareFoundationNews/~3/z8bYv7-CvBw/the-2021-python-language-summit-what-is.html

Brett Cannon gave a presentation at the 2021 Python Language Summit about the standard library in order to start a conversation about whether it's time to write a PEP that more clearly defines it. Wha
Python Software Foundation: The 2021 Python Language Summit

Link: http://feedproxy.google.com/~r/PythonSoftwareFoundationNews/~3/_-8J6H4Mr-o/the-2021-python-language-summit.html

Every year, a small group of core developers from Python implementations such as CPython, PyPy, Jython, and more come together to share information, discuss problems, and seek consensus in order to he
Zero to Mastery: Python Monthly 💻🐍 May 2021

Link: https://zerotomastery.io/blog/python-monthly-may-2021/?utm_source=python-rss-feed

18th issue of Python Monthly! Read by 20,000+ Python developers every month. This monthly Python newsletter is focused on keeping you up to date with the industry and keeping your skills sharp, withou