Skip to main content

Posts

Showing posts from March, 2021

How to Scrape Soundcloud data using Selenium? (from scratch)

Photo by  ClĂ©ment H  on  Unsplash Hello there, if you are new to web scraping or want to learn how you can scrape data from websites using Selenium then this article is for you. In this article we are going to scrape data from SoundCloud but you can use this technique to scrape data from other websites also. Before we move further and jump into coding, let’s take a look at what is web scraping. If you already hold knowledge about scraping you can jump to the coding section. Web Scrapping (also termed Screen Scraping, Web Data Extraction, Web Harvesting etc.) is a technique employed to extract large amounts of data from websites whereby the data is extracted and saved to a local file in your computer or to a database in table (spreadsheet) format.  As mentioned in the topic of the article, we are going to use Selenium for scraping the data. In case if you don’t know what seleni

Beginners guide to Neural Networks (understanding neural networks as simple as possible)

A neural network is a network of neurons inside our brain and an artificial neural network is inspired by our brain where all the nodes(neurons) are interconnected to form a complex network. Don't worry if you didn't get it, I will try to explain neural networks as simple as possible without using any complex math. Image by  Ermal Tahiri  from  Pixabay   Let’s assume there is a group of people who have never seen a dalmatian dog which is a breed of dog. Your task is to train them to identify the dalmatian dog among other dog breeds. Photo by  Helena Lopes  from  Pexels You divide them into different team and ass

Extract Captcha Text using CNN in Python(Captcha solver)

Photo by Janik Fischer on Unsplash Captcha solver or captcha text extraction is a process of extracting text from the captcha image. This can be done by using OCR (Optical character recognition) tools like ‘Tesseract’. But to understand Computer vision more deeply you can build your own custom captcha solver. So let’s see how you can build your own captcha solver with the help of openCV and keras. Building Captcha Solver In order to detect the text in the captcha we will build a CNN model trained on separate image of letters of the captcha. For building the model we need to separate out each letter image from the captcha and write it for training the model. After training our model we can pass

Precision and Recall | Precision and Recall in machine learning

Precision and recall are the two terms which confused me a lot in my machine learning path. These terms sound easy but they are not as easy as they sound. And the high-level definition provided in most of the blogs are way out of my understanding, actually I never find those definitions easy to understand. So, I tried to find some other way to understand these terms with real world example. Photo by Karsten Winegeart on Unsplash Ok, enough of talking. Let’s start with where to use precision and recall instead of accuracy. So, take an example where you got an imbalanced data for skin cancer and you were asked to create a model to detect skin cancer. You created a model which detects skin cancer with very high accuracy say 98%. But, is it the perfect model? Or we

Understanding mean Average Precision for Object Detection (with Python Code)

Photo by  Avel Chuklanov  on  Unsplash If you ever worked on object detection problem where you need to predict the bounding box coordinates of the objects, you may have come across the term mAP (mean average precision). mAP is a metric used for evaluating object detectors. As the name suggest it is the average of the AP. To understand mAP , first we need to understand what is precision, recall and IoU(Intersection over union). Almost everyone is familiar with first two terms, in case you don’t know these terms I am here to help you. Precision and Recall Precision: It tells us how accurate is our predictions or proportion of data points that our model says relevant are actually relevant. Formula for precision Recall: It is ability of a model to find all the data points of inte