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

This is the second article in the series of articles on “Creating a Neural Network From Scratch in Python”. If you are absolutely beginner to neural networks, you should read Part 1 of this series first (linked above). Once you are comfortable with the concepts explained in that article, you can come back and continue with this article. Introduction In the previous article, we started our discussion about artificial neural networks; we saw how to create a simple neural network […]

Read more

Python GUI Development with Tkinter

This is the first installment of our multi-part series on developing GUIs in Python using Tkinter. Check out the links below for the next parts to this series: 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 interface. It’s quick, easy on your system’s resources, and probably much faster to use for a keyboard virtuoso like yourself. However, it’s no secret that if we want […]

Read more

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”. If you have no prior experience with neural networks, I would suggest you first read Part 1 and Part 2 of the series (linked above). Once you feel comfortable with the concepts explained in those articles, you can come back and continue this article. Introduction In the previous article, we saw how we can create a neural network from scratch, which […]

Read more

Python Dictionary Tutorial

Introduction Python comes with a variety of built-in data structures, capable of storing different types of data. A Python dictionary is one such data structure that can store data in the form of key-value pairs. The values in a Python dictionary can be accessed using the keys. In this article, we will be discussing the Python dictionary in detail. Creating a Dictionary To create a Python dictionary, we need to pass a sequence of items inside curly braces {}, and […]

Read more

Getting User Input in Python

Introduction The way in which information is obtained and handled is one of the most important aspects in the ethos of any programming language, more so for the information supplied and obtained from the user. Python, while comparatively slow in this regard when compared to other programming languages like C or Java, contains robust tools to obtain, analyze, and process data obtained directly from the end user. This article briefly explains how different Python functions can be used to obtain […]

Read more

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 other editors like Emacs. (By the way, that’s very nice in winter in order to see the two enthusiastic teams having an extensive snowball fight together). Vim can be individualized and […]

Read more

Object Oriented Programming in Python

Introduction Object-Oriented Programming (OOP) is a programming paradigm where different components of a computer program are modeled after real-world objects. An object is anything that has some characteristics and can perform a function. Consider a scenario where you have to develop a Formula 1 car racing game using the object-oriented programming approach. The first thing you need to do is to identify real-world objects in the actual Formula 1 race. What are the entities in a Formula 1 race that […]

Read more

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: Introduction In the first part of the StackAbuse Tkinter tutorial series, we learned how to quickly build simple graphical interfaces using Python. The article explained how to create several different widgets and position them on the screen using two different methods offered by Tkinter – but still, we barely scratched the surface […]

Read more

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 features in the dataset that actually help our machine learning model learn something. Unnecessary and redundant features not only slow down the training time of an algorithm, but they also affect the performance of the algorithm. The process of […]

Read more
1 51 52 53 54