[New Book] Click to get Python for Machine Learning!
Use the offer code 20offearlybird to get 20% off.
juan-rumimpunu-nLXOatvTaLo-unsplash

Monkey Patching Python Code

Python is a dynamic scripting language. Not only does it have a dynamic type system where a variable can be assigned to one type first and changed later, but its object model is also dynamic. This allows us to modify its behavior at run time. A consequence of this is the possibility of monkey patching. […]

Continue Reading 0
Logging in Python<br/>Photo by <a href="https://www.pexels.com/photo/brown-firewood-122588/">ilaria88</a>. Some rights reserved.

Logging in Python

Logging is a way to store information about your script and track events that occur. When writing any complex script in Python, logging is essential for debugging software as you develop it. Without logging, finding the source of a problem in your code may be extremely time consuming. After completing this tutorial, you will know: […]

Continue Reading 0
https://unsplash.com/photos/BeoRcYyVgxE

Avatar of user Prashant Saini
Prashant Saini
@prashantsaini




Prashant Saini

Profiling Python Code

Profiling is a technique to figure out how time is spent in a program. With these statistics, we can find the “hot spot” of a program and think about ways of improvement. Sometimes, a hot spot in an unexpected location may hint at a bug in the program as well. In this tutorial, we will […]

Continue Reading 0
Static analyzers in Python<br/>Photo by <a href="https://www.pexels.com/photo/blooming-sea-lavender-flowers-on-rough-surface-6044187/">Skylar Kang</a>. Some rights reserved

Static Analyzers in Python

Static analyzers are tools that help you check your code without really running your code. The most basic form of static analyzers is the syntax highlighters in your favorite editors. If you need to compile your code (say, in C++), your compiler, such as LLVM, may also provide some static analyzer functions to warn you […]

Continue Reading 1

Take Your Machine Learning Skills Global

Sponsored Post In our interconnected world, a decision made thousands of miles away can have lasting consequences for entire organizations or economies. When small changes have big effects, it is unsurprising that companies and governments are turning to machine learning and AI to accurately predict risk. ​ How the Global Community is Applying Machine Learning […]

Continue Reading 0
pexels-thirdman-6193847

Multiprocessing in Python

When you work on a computer vision project, you probably need to preprocess a lot of image data. This is time-consuming, and it would be great if you could process multiple images in parallel. Multiprocessing is the ability of a system to run multiple processors at one time. If you had a computer with a […]

Continue Reading 12