Overloading Functions and Operators in Python

What is Overloading? Overloading, in the context of programming, refers to the ability of a function or an operator to behave in different ways depending on the parameters that are passed to the function, or the operands that the operator acts on. In this article, we will see how we can perform function overloading and operator overloading in Python. Overloading a method fosters reusability. For instance, instead of writing multiple methods that differ only slightly, we can write one method […]

Read more

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 data to return from a client rather than waiting idly, wasting resources and time. Python, like many other languages, suffers from not being asynchronous by default. Fortunately, rapid changes in the IT world allow us to write asynchronous […]

Read more

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 may want to use a specific machine learning algorithm to train your model. In such cases, features selected through filter methods may not be the most optimal set of features for that specific algorithm. There […]

Read more

How to Create, Move, and Delete Files in Python

Introduction Handling files is an entry-level and fundamental skill for any programmer. They’re very commonly used to store application data, user configurations, videos, images, etc. There are a countless number of use-cases for files in software applications, so you’d be smart to make yourself deeply familiar with the tasks of manipulating files. These tasks could include (among others) creating, deleting, and moving files. In this article, we’ll cover the process of working with files using the Python programming language. The […]

Read more

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: Introduction Tkinter is the de facto standard package for building GUIs in Python. In StackAbuse’s first and second part of the Tkinter tutorial, we learned how to use the basic GUI building blocks to create simple interfaces. In the last part of our tutorial, we’ll take a look at a couple of […]

Read more

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 price prediction is probably the best example of such an application. In this article, we will see how we can perform time series analysis with the help of a recurrent neural […]

Read more

Lists vs Tuples in Python

Introduction Lists and tuples are two of the most commonly used data structures in Python, with dictionary being the third. Lists and tuples have many similarities. Some of them have been enlisted below: They are both sequence data types that store a collection of items They can store items of any data type And any item is accessible via its index. So the question we’re trying to answer here is, how are they different? And if there is no difference […]

Read more

Dialogue as Dataflow: A new approach to conversational AI

By the Semantic Machines research team “Easier said than done.” These four words reflect the promise of conversational AI. It takes just seconds to ask When are Megan and I both free? but much longer to find out manually from a calendar. Indeed, almost everything we do with technology can feel like a long path to a short goal. At Microsoft Semantic Machines, we’re working to bridge this gap—to build conversational AI experiences where you can focus on saying what […]

Read more

Novel View Synthesis from Single Images via Point Cloud Transformation

In this paper the argument is made that for true novel view synthesis of objects, where the object can be synthesized from any viewpoint, an explicit 3D shape representation isdesired. Our method estimates point clouds to capture the geometry of the object, which can be freely rotated into the desired view and then projected into a new image… This image, however, is sparse by nature and hence this coarse view is used as the input of an image completion network […]

Read more

ShapeAssembly: Learning to Generate Programs for 3D Shape Structure Synthesis

Manually authoring 3D shapes is difficult and time consuming; generative models of 3D shapes offer compelling alternatives. Procedural representations are one such possibility: they offer high-quality and editable results but are difficult to author and often produce outputs with limited diversity… On the other extreme are deep generative models: given enough data, they can learn to generate any class of shape but their outputs have artifacts and the representation is not editable. In this paper, we take a step towards […]

Read more
1 882 883 884 885 886 896