Python

How To Trick a Neural Network in Python 3 — step-by-step AI And Machine Learning tutorial on Progressive Robot

How To Trick a Neural Network in Python 3

In this tutorial, you will try “fooling” or tricking an animal classifier. As you work through the tutorial, you’ll use OpenCV, a computer-vision library, and PyTorch, a deep learning library. By the end of the tutorial, you will have a tool for tricking neural networks and an understanding of how to defend against tricks.

Read more
How To Use Python-Markdown to Convert Markdown Text to HTML — step-by-step Python tutorial on Progressive Robot

How To Use Python-Markdown to Convert Markdown Text to HTML

Markdown is a markup language commonly used to simplify the process of writing content in an easy-to-read text format, which a software tool or programming library can convert into HTML to display in a browser or another writing program. In this tutorial, you will install the Python-Markdown library, use it to convert Markdown strings to HTML, convert Markdown files to HTML files, and use the Python-Markdown command line interface to convert Markdown to HTML.

Read more
NumPy sqrt() - Square Root of Matrix Elements — step-by-step Python tutorial on Progressive Robot

NumPy sqrt() – Square Root of Matrix Elements

URL: https://www.progressiverobot.com/numpy-sqrt-square-root-of-matrix-elements/ [Python NumPy module](/community/tutorials/python-numpy-tutorial) is used to work with multidimensional arrays and matrix manipulations. We can use NumPy sqrt() function to get the square root of the matrix elements. Python NumPy sqrt() Example import numpy array_2d = numpy.array([[1, 4], [9, 16]], dtype=numpy.float) print(array_2d) array_2d_sqrt = numpy.sqrt(array_2d) print(array_2d_sqrt) Output: [[ 1. 4.] [ 9. 16.]] […]

Read more
CHAT