Basic AI Concepts: A* Search Algorithm

Introduction Artificial intelligence in its core strives to solve problems of enormous combinatorial complexity. Over the years, these problems were boiled down to search problems. A path search problem is a computational problem where you have to find a path from point A to poin … | Continue reading


@stackabuse.com | 5 years ago

Python for NLP: Vocabulary and Phrase Matching with SpaCy

This is the third article in this series of articles on Python for Natural Language Processing. In the previous article, we saw how Python's NLTK and spaCy libraries can be used to perform simple NLP tasks such as tokenization, stemming and lemmatization. We also saw how to perfo … | Continue reading


@stackabuse.com | 5 years ago

PyTesseract: Simple Python Optical Character Recognition

Introduction Humans can understand the contents of an image simply by looking. We perceive the text on the image as text and can read it. Computers don't work the same way. They need something more concrete, organized in a way they can understand. This is where Optical Character … | Continue reading


@stackabuse.com | 5 years ago

Functional Programming in Python

Introduction Functional Programming is a popular programming paradigm closely linked to computer science's mathematical foundations. While there is no strict definition of what constitutes a functional language, we consider them to be languages that use functions to transform dat … | Continue reading


@stackabuse.com | 5 years ago

Running Sql on CSV Data: Data Conversion and Extraction

A lot of tools output data as comma-separated values (CSV). It is a simple but common tabular data format of plaintext that can easily be processed. Each line of the file represents a single record. A record consists of the same number of fields, or columns. Usually, the delimite … | Continue reading


@stackabuse.com | 5 years ago

Stacks and Queues in Python

Introduction Data structures organize storage in computers so that we can efficiently access and change data. Stacks and Queues are some of the earliest data structures defined in computer science. Simple to learn and easy to implement, their uses are common and you'll most likel … | Continue reading


@stackabuse.com | 5 years ago

Automating Version Control Commits

In the previous article I explained how to monitor your data and how to detect changes using tools like Integrit, which is a Host-based Intrusion Detection System (HIDS). Discovering the changes in files is already quite nice, but keeping track of the content and its changes over … | Continue reading


@stackabuse.com | 5 years ago

Getting Started with MySQL and Python

Introduction For any fully functional deployable application, the persistence of data is indispensable. A trivial way of storing data would be to write it to a file in the hard disk, but one would prefer writing the application specific data to a database for obvious reasons. Pyt … | Continue reading


@stackabuse.com | 5 years ago

Dockerizing Python Applications

Introduction Docker is a widely accepted and used tool by leading IT companies to build, manage and secure their applications. Containers, like Docker, allow developers to isolate and run multiple applications on a single operating system, rather than dedicating a Virtual Machine … | Continue reading


@stackabuse.com | 5 years ago

Python Context Managers

Introduction One of the most "obscure" features of Python that almost all Python programmers use, even the beginner ones, but don't really understand, is context managers. You've probably seen them in the form of with statements, usually first encountered when you learn opening f … | Continue reading


@stackabuse.com | 5 years ago

Automating AWS EC2 Management with Python and Boto3

Introduction In this article I will be demonstrating the use of Python along with the Boto3 Amazon Web Services (AWS) Software Development Kit (SDK) which allows folks knowledgeable in Python programming to utilize the intricate AWS REST API's to manage their cloud resources. Due … | Continue reading


@stackabuse.com | 5 years ago

Course Review: Hands on Computer Vision with OpenCV and Python

Introduction In this article I will be providing a review of the Udemy course Hands On Computer Vision with OpenCV & Python by Shrobon Biswas featured on the Udemy online learning site. At the time of this writing I would say that the course is moderately successful with a to … | Continue reading


@stackabuse.com | 5 years ago

Linked List Programming Interview Questions

If you're interested in reading more about Programming Interview Questions in general, we've compiled a lengthy list of these questions, including their explanations, implementations, visual representations and applications. Introduction Linked Lists are a data structure that rep … | Continue reading


@stackabuse.com | 5 years ago

Using Plotly Library for Interactive Data Visualization in Python

In my previous article, I explained how the Pandas library can be used for plotting basic and time series plots. While Pandas, Matplotlib, and Seaborn libraries are excellent data plotting libraries, they can only plot static graphs. Static plots are like simple non-interactive i … | Continue reading


@stackabuse.com | 5 years ago

Pandas Library for Data Visualization in Python

In my previous article, I explained how the Seaborn Library can be used for advanced data visualization in Python. Seaborn is an excellent library and I always prefer to work with it, however, it is a bit of an advanced library and needs a bit of time and practice to | Continue reading


@stackabuse.com | 5 years ago

Introduction to Web Scraping with Python

Introduction Web-scraping is an important technique, frequently employed in a lot of different contexts, especially data science and data mining. Python is largely considered the go-to language for web-scraping, the reason being the batteries-included nature of Python. With Pytho … | Continue reading


@stackabuse.com | 5 years ago

Classification in Python with Scikit-Learn and Pandas

Introduction Classification is a large domain in the field of statistics and machine learning. Generally, classification can be broken down into two areas: Binary classification, where we wish to group an outcome into one of two groups. Multi-class classification, where we wish t … | Continue reading


@stackabuse.com | 5 years ago

Building a GraphQL API with Django

Introduction Web APIs are the engines that power most of our applications today. For many years REST has been the dominant architecture for APIs, but in this article we will explore GraphQL. With REST APIs, you generally create URLs for every object of data that's accessible. Let … | Continue reading


@stackabuse.com | 5 years ago

Seaborn Library for Data Visualization in Python: Part 2

In the previous article Seaborn Library for Data Visualization in Python: Part 1, we looked at how the Seaborn Library is used to plot distributional and categorial plots. In this article we will continue our discussion and will see some of the other functionalities offered by Se … | Continue reading


@stackabuse.com | 5 years ago

Project Lombok: Reducing Java Boilerplate Code

Overview Lombok is an open-source library that is used to reduce boilerplate code in Java classes. This is achieved by replacing many of the repetitive pieces of code with simple and concise annotations. Lombok injects itself in the build process (via your project/IDE) and autoge … | Continue reading


@stackabuse.com | 5 years ago

Seaborn Library for Data Visualization in Python: Part 1

Introduction In the previous article, we looked at how Python's Matplotlib library can be used for data visualization. In this article we will look at Seaborn which is another extremely useful library for data visualization in Python. The Seaborn library is built on top of Matplo … | Continue reading


@stackabuse.com | 5 years ago

Search Algorithms in Python

Introduction Searching for data stored in different data structures is a crucial part of pretty much every single application. There are many different algorithms available to utilize when searching, and each have different implementations and rely on different data structures to … | Continue reading


@stackabuse.com | 5 years ago

Asynchronous vs. Synchronous Python Performance Analysis

Introduction This article is the second part of a series on using Python for developing asynchronous web applications. The first part provides a more in-depth coverage of concurrency in Python and asyncio, as well as aiohttp. If you'd like to read more about Asynchronous Python f … | Continue reading


@stackabuse.com | 5 years ago

Web Scraping with Node.js

Introduction By definition, web scraping means getting useful information from web pages. The process should remove the hassle of having to browse pages manually, be automated, and allow to gather and classify the information you're interested in programmatically. Node.js is a gr … | Continue reading


@stackabuse.com | 5 years ago

Graph Data Structure Interview Questions

Introduction Graph-related interview questions are very common, and many algorithms you'll be expected to know fall into this category. It's important to be acquainted with all of these algorithms - the motivation behind them, their implementations and applications. If you're int … | Continue reading


@stackabuse.com | 5 years ago

Time Series Analysis with LSTM Using Python's Keras Library

Introduction Time series analysis refers to the analysis of change in the trend of the data over a period of time. Time series analysis has a variety of applications. One such application is the prediction of the future value of an item based on its past values. Future stock pric … | Continue reading


@stackabuse.com | 5 years ago

Python GUI Development with Tkinter: Part 3

This is the third installment of our multi-part series on developing GUIs in Python using Tkinter. Check out the links below for the other parts to this series: Python GUI Development with Tkinter Python GUI Development with Tkinter: Part 2 Python GUI Development with Tkinter: Pa … | Continue reading


@stackabuse.com | 5 years ago

Applying Wrapper Methods in Python for Feature Selection

Introduction In the previous article, we studied how we can use filter methods for feature selection for machine learning algorithms. Filter methods are handy when you want to select a generic set of features for all the machine learning models. However, in some scenarios, you ma … | Continue reading


@stackabuse.com | 5 years ago

Asynchronous Python for Web Development

Asynchronous programming is well suited for tasks that include reading and writing files frequently or sending data back and forth from a server. Asynchronous programs perform I/O operations in a non-blocking fashion, meaning that they can perform other tasks while waiting for da … | Continue reading


@stackabuse.com | 5 years ago

Applying Filter Methods in Python for Feature Selection

Introduction Machine learning and deep learning algorithms learn from data, which consists of different types of features. The training time and performance of a machine learning algorithm depends heavily on the features in the dataset. Ideally, we should only retain those featur … | Continue reading


@stackabuse.com | 5 years ago

Guide to Spring Data JPA

What is Spring Data JPA? Before Getting Started Choosing a Java Data Access Layer Installing Spring Data JPA Spring Repositories Repository Architectural Overview Spring Data JPA Repositories JpaRepository Features Code Example Query DSL Overview What is Spring Data JPA? Spring D … | Continue reading


@stackabuse.com | 5 years ago

Python GUI Development with Tkinter: Part 2

This is the second installment of our multi-part series on developing GUIs in Python using Tkinter. Check out the links below for the other parts to this series: Python GUI Development with Tkinter Python GUI Development with Tkinter: Part 2 Python GUI Development with Tkinter: P … | Continue reading


@stackabuse.com | 5 years ago

Introduction to Object Oriented Programming in Python

Introduction Pros and Cons of OOP Class Objects Attributes Methods Constructors Local vs Global Variables Access Modifiers Inheritance Polymorphism Encapsulation Conclusion Introduction Object-Oriented Programming (OOP) is a programming paradigm where different components of a co … | Continue reading


@stackabuse.com | 5 years ago

Vim for Python Development

What is Vim? Vim is a powerful text editor that belongs to one of the default components on every Linux distribution, as well as Mac OSX. Vim follows its own concept of usage, causing the community to divide into strong supporters and vehement opponents that are in favor for othe … | Continue reading


@stackabuse.com | 5 years ago

Spring Reactor Tutorial

Overview In this article, we'll get introduced to the Spring Reactor project and its importance. The idea is to take advantage of the Reactive Streams Specification to build non-blocking reactive applications on the JVM. Using this knowledge, we'll build a simple reactive applica … | Continue reading


@stackabuse.com | 5 years ago

Creating a Neural Network from Scratch in Python: Multi-Class Classification

This is the third article in the series of articles on "Creating a Neural Network From Scratch in Python". Creating a Neural Network from Scratch in Python Creating a Neural Network from Scratch in Python: Adding Hidden Layers Creating a Neural Network from Scratch in Python: Mul … | Continue reading


@stackabuse.com | 5 years ago

GUI Development with Python Tkinter: An Introduction

$(document).ready(function() { $('pre code').each(function(i, block) { hljs.lineNumbersBlock(block); }); }); Introduction If you're reading this article, there's a chance that you are one of those people who appreciate software operated via a simple command-line i … | Continue reading


@stackabuse.com | 5 years ago

Course Review: Tech Explorations Raspberry Pi Full Stack

Introduction This article is a review of the popular Udemy course called Tech Explorations Raspberry Pi Full Stack featuring the Raspberry Pi created by Dr. Peter Dalmaris. The course gives a history of the Raspberry Pi, explains its value and use as a general purpose mini comput … | Continue reading


@stackabuse.com | 5 years ago

Dockerizing a Spring Boot Application

Overview In this article, we'll cover the process of creating a Docker image of a Spring Boot application, using Dockerfile and Maven and then run the image we've created. The source code for this tutorial can be found on Github. This tutorial assumes that you have Docker insta … | Continue reading


@stackabuse.com | 5 years ago

The Best Machine Learning Books for All Skill Levels

Preface Having recently reviewed the Machine Learning online course Machine Learning A-Z: Hands-On Python & R In Data Science, I decided to shift my focus to a more conventional method of learning i.e. books. In this article I have enlisted the most popular Machine Learning b … | Continue reading


@stackabuse.com | 5 years ago

Creating a Neural Network from Scratch in Python: Adding Hidden Layers

Introduction In the previous article, we started our discussion about artificial neural networks; we saw how to create a simple neural network with one input and one output layer, from scratch in Python. Such a neural network is called a perceptron. However, real-world neural net … | Continue reading


@stackabuse.com | 5 years ago

Docker: A High Level Introduction

Introduction In professional IT circles, especially among data center specialists, Docker has been an extremely important topic for years. Containers have been used for a long time in computer science, and unlike other types of virtualization, containers are running at the top of … | Continue reading


@stackabuse.com | 5 years ago

Creating a Neural Network from Scratch in Python

Introduction Have you ever wondered how chatbots like Siri, Alexa, and Cortona are able to respond to user queries? Or how the autonomous cars are able to drive themselves without any human help? All of these fancy products have one thing in common: Artificial Intelligence (AI). … | Continue reading


@stackabuse.com | 5 years ago

Daily Coding Problem: Programming Puzzles to Your Inbox

Like just about any other profession, the key to becoming a great programmer is to practice. Practicing often and consistently is an amazing way, and arguably the best way, to challenge yourself and improve your programming skills. A lot of us have the desire to work in top-tier … | Continue reading


@stackabuse.com | 5 years ago

Introduction to the Python Pickle Module

Introduction Pickling is a popular method of preserving food. According to Wikipedia, it is also a pretty ancient procedure – although the origins of pickling are unknown, the ancient Mesopotamians probably used the process 4400 years ago. By placing a product in a specific solut … | Continue reading


@stackabuse.com | 5 years ago

Course Review: Master the Python Interview

Introduction This article will be a continuation of the topic of my prior article Preparing for a Python Developer Interview where I gave my opinions and suggestions that I feel will put you in the best position to out perform other developers competing for a Python developer rol … | Continue reading


@stackabuse.com | 5 years ago

NumPy Tutorial: A Simple Example-Based Guide

Introduction Advantages of NumPy NumPy Operations Creating a NumPy Array The array Method The arange Method The zeros Method The ones Method The linspace Method The eye Method The random Method Reshaping NumPy Array Finding Max/Min Values Array Indexing in NumPy Indexing with 1-D … | Continue reading


@stackabuse.com | 5 years ago

Exception Handling in Java: A Complete Guide with Best and Worst Practices

Overview Handling Exceptions in Java is one of the most basic and fundamental things a developer should know by heart. Sadly, this is often overlooked and the importance of exception handling is underestimated - it's as important as the rest of the code. In this article, let's go … | Continue reading


@stackabuse.com | 5 years ago