Archive | Python for Machine Learning

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
pexels-ray-bilcliff-4805619

Web Crawling in Python

In the old days, it was a tedious job to collect data, and it was sometimes very expensive. Machine learning projects cannot live without data. Luckily, we have a lot of data on the web at our disposal nowadays. We can copy data from the web to create our dataset. We can manually download files […]

Continue Reading
pexels-mark-de-jong-6939449

Massaging Data Using Pandas

When we talk about managing data, it is quite inevitable to see data presented in tables. With column header, and sometimes with names for rows, it makes understanding data easier. In fact, it often happens that we see data of different types staying together. For example, we have quantity as numbers and name as strings […]

Continue Reading
NumPy and SciPy<br/>Photo by <a href="https://www.pexels.com/photo/magnifying-glass-on-textbook-4494641/">Nothing Ahead</a>. Some rights reserved.

Scientific Functions in NumPy and SciPy

Python is a general-purpose computation language, but it is very welcomed in scientific computing. It can replace R and Matlab in many cases, thanks to some libraries in the Python ecosystem. In machine learning, we use some mathematical or statistical functions extensively, and often, we will find NumPy and SciPy useful. In the following, we […]

Continue Reading