Python

How To Set Up a JupyterLab Environment on Ubuntu 18.04 — step-by-step Linux tutorial on Progressive Robot

How To Set Up a JupyterLab Environment on Ubuntu 18.04

JupyterLab is the update over Jupyter Notebook environments, offering a highly feature-rich UI that makes it easier for users, particularly in the fields of Data Science and AI, to perform their tasks. In this tutorial, you’ll install and set up JupyterLab on your Ubuntu 18.04 server. You’ll also be configuring your server to be able to connect to the JupyterLab instance remotely from any web browser, securely, using a domain name

Read more
How To Set Up Python 2.7.6 and 3.3.3 on CentOS 6.4 — step-by-step Linux tutorial on Progressive Robot

How To Set Up Python 2.7.6 and 3.3.3 on CentOS 6.4

In this the cloud provider article, we are going to talk about downloading and setting up Python (versions 2.7.6 and 3.3.3) without breaking the system’s default 2.6 (or 2.4 depending on CentOS distribution) and without breaking critical system tools such as YUM which depend on the system’s default. Furthermore, we continue with setting up two popular must-have Python tools: pip and virtualenv.

Read more
How To Use a PostgreSQL Database in a Flask Application — step-by-step Databases tutorial on Progressive Robot

How To Use a PostgreSQL Database in a Flask Application

In web applications, you usually need a database, which is an organized collection of data. You use a database to store and maintain persistent data that can be retrieved and manipulated efficiently. PostgreSQL, or Postgres, is a relational database management system that provides an implementation of the SQL querying language. In this tutorial, you’ll build a small book review web application that demonstrates how to use the psycopg2 library, a PostgreSQL database adapter.

Read more
How To Use List Methods in Python 3 — step-by-step Python tutorial on Progressive Robot

How To Use List Methods in Python 3

In this tutorial, we’ll go through the built-in methods that you can use to work with the list data structure in Python. We’ll go through adding items to and removing items from lists, extending lists, reversing and sorting lists, and more.

Read more
How To Use Python-Markdown with Flask and SQLite — step-by-step Databases tutorial on Progressive Robot

How To Use Python-Markdown with Flask and SQLite

Python-Markdown is a Python library that allows you to convert Markdown text to HTML; it mostly follows the Markdown standard with a few minor differences to the standard Markdown syntax. In this tutorial, you’ll use Flask, SQLite, and Python-Markdown to build a small note-taking web application that supports formatting text using Markdown. The app will allow users to display, create, and format notes with h

Read more
How To Use the collections Module in Python 3 — step-by-step Python tutorial on Progressive Robot

How To Use the collections Module in Python 3

In this tutorial, we’ll go through three classes in the collections module to help you work with tuples, dictionaries, and lists. We’ll use namedtuples to create tuples with named fields, defaultdict to concisely group information in dictionaries, and deque to efficiently add elements to either side of a list-like object.

Read more
How To Visualize and Interpret Neural Networks in Python — step-by-step AI And Machine Learning tutorial on Progressive Robot

How To Visualize and Interpret Neural Networks in Python

Neural networks achieve state-of-the-art accuracy in many fields such as computer vision, natural-language processing, and reinforcement learning. In this tutorial, you’ll specifically explore two types of explanations: 1. Saliency maps, which highlight the most important parts of the input image; and 2. decision trees, which break down each prediction into a sequence of intermediate decisions.

Read more
CHAT