Menu

Python

How to use tf.function to speed up Python code in Tensorflow

tf.function is a decorator function provided by Tensorflow 2.0 that converts regular python code to a callable Tensorflow graph function, which is usually more performant and python independent. It is used to create portable Tensorflow models.       Introduction Tensorflow released the second version of the library in September 2019. This version, popularly called …

How to use tf.function to speed up Python code in Tensorflow Read More »

Tensorflow

TensorFlow vs PyTorch – A Detailed Comparison

Compare the popular deep learning frameworks: Tensorflow vs Pytorch. We will go into the details behind how TensorFlow 1.x, TensorFlow 2.0 and PyTorch compare against eachother. And how does keras fit in here. Table of Contents: Introduction Tensorflow: 1.x vs 2 Difference between static and dynamic computation graph Keras integration or rather centralization What is …

TensorFlow vs PyTorch – A Detailed Comparison Read More »

Python JSON

Python JSON – Guide

JSON stands for JavaScript Object Notation. JSON is a lightweight data format used for data interchange between multiple different languages. It is easy to read for humans and easily parsed by machines. CONTENTS Brief Overview Purpose of JSON Serializing JSON dumps() function dump() function Deserializing JSON loads() function load() function Complex number encoding Complex JSON …

Python JSON – Guide Read More »

Requests in Python Tutorial – How to send HTTP requests in Python?

Requests is an elegant and simple Python library built to handle HTTP requests in python easily. It allows you make GET, POST, PUT and other types of requests and process the received response in a flexible Pythonic way. Contents Introduction to Requests Library What is a GET and POST request? GET Method Status Code Contents …

Requests in Python Tutorial – How to send HTTP requests in Python? Read More »

datetime in Python

datetime in Python – Simplified Guide with Clear Examples

datetime is the standard module for working with dates in python. It provides 4 main objects for date and time operations: datetime, date, time and timedelta. In this post you will learn how to do all sorts of operations with these objects and solve date-time related practice problems (easy to hard) in Python. datetime in …

datetime in Python – Simplified Guide with Clear Examples Read More »

Logging in Python

Python Logging – Simplest Guide with Full Code and Examples

The logging module lets you track events when your code runs so that when the code crashes you can check the logs and identify what caused it. Log messages have a built-in hierarchy – starting from debugging, informational, warnings, error and critical messages. You can include traceback information as well. It is designed for small …

Python Logging – Simplest Guide with Full Code and Examples Read More »

Python @Property Explained – How to Use and When? (Full Examples)

A python @property decorator lets a method to be accessed as an attribute instead of as a method with a ‘()’. Today, you will gain an understanding of when it is really needed, in what situations you can use it and how to actually use it. Contents 1. Introduction2. What does @property do?3. When to …

Python @Property Explained – How to Use and When? (Full Examples) Read More »

parallel processing python

Parallel Processing in Python – A Practical Guide with Examples

Parallel processing is a mode of operation where the task is executed simultaneously in multiple processors in the same computer. It is meant to reduce the overall processing time. In this tutorial, you’ll understand the procedure to parallelize any typical logic using python’s multiprocessing module. 1. Introduction Parallel processing is a mode of operation where …

Parallel Processing in Python – A Practical Guide with Examples Read More »

Numpy Tutorial Part1

Numpy Tutorial – Your first numpy guide to build python coding foundations

This is part 1 of the numpy tutorial covering all the core aspects of performing data manipulation and analysis with numpy’s ndarrays. Numpy is the most basic and a powerful package for scientific computing and data manipulation in python. Numpy Tutorial Part 1: Introduction to Arrays. Photo by Bryce Canyon. Also Read: Numpy Tutorial – …

Numpy Tutorial – Your first numpy guide to build python coding foundations Read More »

Python Regex

Python Regular Expressions Tutorial and Examples: A Simplified Guide

Regular expressions, also called regex, is a syntax or rather a language to search, extract and manipulate specific string patterns from a larger text. It is widely used in projects that involve text validation, NLP and text mining. Regular Expressions in Python: A Simplified Tutorial. Photo by Sarah Crutchfield. 1. Contents Introduction to regular expressions …

Python Regular Expressions Tutorial and Examples: A Simplified Guide Read More »

Course Preview

Machine Learning A-Z™: Hands-On Python & R In Data Science

Free Sample Videos:

Machine Learning A-Z™: Hands-On Python & R In Data Science

Machine Learning A-Z™: Hands-On Python & R In Data Science

Machine Learning A-Z™: Hands-On Python & R In Data Science

Machine Learning A-Z™: Hands-On Python & R In Data Science

Machine Learning A-Z™: Hands-On Python & R In Data Science