Local Optimization Versus Global Optimization

Optimization refers to finding the set of inputs to an objective function that results in the maximum or minimum output from the objective function. It is common to describe optimization problems in terms of local vs. global optimization. Similarly, it is also common to describe optimization algorithms or search algorithms in terms of local vs. global search. In this tutorial, you will discover the practical differences between local and global optimization. After completing this tutorial, you will know: Local optimization […]

Read more

How to Format Number as Currency String in Python

Introduction Having to manually format a number as a currency string can be a tedious process. You may have just a few lines of modifications to make, however, when we need to do a fair bit of conversions, it becomes very tedious. The first step to automating these kind of tasks will require a function. In this article, we’ll be going over a few methods you can use to format numbers as currency strings in Python. Methods for Formatting Numbers […]

Read more

How to create your own Question and Answering API(Flask+Docker +BERT) using haystack framework

Introduction Note from the author: In this article, we will learn how to create your own Question and Answering(QA) API using python, flask, and haystack framework with docker. The haystack framework will provide the complete QA features which are highly scalable and customizable. In this article Medium Rules, the text will be used as the target document and fine-tuning the model as well. Basic Knowledge Required: Elasticsearch & Docker This article contains the working code which can be directly build […]

Read more

Issue #115 – Revisiting Low-Resource Neural Machine Translation: A Case Study

28 Jan21 Issue #115 – Revisiting Low-Resource Neural Machine Translation: A Case Study Author: Akshai Ramesh, Machine Translation Scientist @ Iconic Introduction Although deep neu­ral models produce state­-of­-the-­art results in many translation tasks, they are found to under­perform phrase-based statistical machine translation in resource ­poor conditions. The majority of research on low-resource neural machine translation (NMT) focuses on the exploitation of monolingual or parallel data involving other language pairs. There is notably less attention into the research of low-resource NMT […]

Read more

How to Develop a Neural Net for Predicting Car Insurance Payout

Developing a neural network predictive model for a new dataset can be challenging. One approach is to first inspect the dataset and develop ideas for what models might work, then explore the learning dynamics of simple models on the dataset, then finally develop and tune a model for the dataset with a robust test harness. This process can be used to develop effective neural network models for classification and regression predictive modeling problems. In this tutorial, you will discover how […]

Read more

Full stack ahead: Pioneering quantum hardware allows for controlling up to thousands of qubits at cryogenic temperatures

Quantum computing offers the promise of solutions to previously unsolvable problems, but in order to deliver on this promise, it will be necessary to preserve and manipulate information that is contained in the most delicate of resources: highly entangled quantum states. One thing that makes this so challenging is that quantum devices must be ensconced in an extreme environment in order to preserve quantum information, but signals must be sent to each qubit in order to manipulate this information—requiring, in […]

Read more

Seaborn Box Plot – Tutorial and Examples

Introduction Seaborn is one of the most widely used data visualization libraries in Python, as an extension to Matplotlib. It offers a simple, intuitive, yet highly customizable API for data visualization. In this tutorial, we’ll take a look at how to plot a Box Plot in Seaborn. Box plots are used to visualize summary statistics of a dataset, displaying attributes of the distribution like the data’s range and distribution. Import Data We’ll need to select a dataset with continuous features […]

Read more

Integrating MongoDB with Flask Using Flask-PyMongo

Introduction Building a web app almost always means dealing with data from a database. There are various databases to choose from, depending on your preference. In this article, we shall be taking a look at how to integrate one of the most popular NoSQL databases – MongoDB – with the Flask micro-framework. They are several Flask extensions for integrating MongoDB, here we’ll be using the Flask-PyMongo extension. We will also be working on a simple Todo-List API to explore the […]

Read more

Matplotlib Box Plot – Tutorial and Examples

Introduction There are many data visualization libraries in Python, yet Matplotlib is the most popular library out of all of them. Matplotlib’s popularity is due to its reliability and utility – it’s able to create both simple and complex plots with little code. You can also customize the plots in a variety of ways. In this tutorial, we’ll cover how to plot Box Plots in Matplotlib. Box plots are used to visualize summary statistics of a dataset, displaying attributes of […]

Read more

LAMBDA: The ultimate Excel worksheet function

Ever since it was released in the 1980s, Microsoft Excel has changed how people organize, analyze, and visualize their data, providing a basis for decision-making for the millions of people who use it each day. It’s also the world’s most widely used programming language. Excel formulas are written by an order of magnitude more users than all the C, C++, C#, Java, and Python programmers in the world combined. Despite its success, considered as a programming language Excel has fundamental […]

Read more
1 2 3 8