##### How to Create the first Pytest Project

Table of Contents Show / Hide 1. Create a project2. Getting started3. Writing the first pytest test code4. Naming conventions5. Running the pytest program6. Analysing the outputs6.0.1. Inspecting the cache

Table of Contents Show / Hide 1. Create a project2. Getting started3. Writing the first pytest test code4. Naming conventions5. Running the pytest program6. Analysing the outputs6.0.1. Inspecting the cache

The Adapter design pattern is a structural design pattern, which suggests having an interface acting as a bridge between two incompatible interfaces to collaborate. This pattern combines the functionalities of

The singleton design pattern is a common creational design pattern that suggests the instantiation of a class to one “single” instance. Provided the object (instance) has a global access point. SDP is considered as a way of defining

A greedy algorithm is a method of solving a problem that chooses the best solution available at the time. It is not concerned about whether the current best outcome will lead to the overall best result

Lexical attributes are the attributes of a token object which give an idea about what does the token does. In this article, you will learn about a few more significant

You can easily add references, introductions, explanations, etc in the form of media files for your ML/data app seamlessly now. Streamlit offers to easily upload your media files like images,

In this article, we are going to learn about Rule-Based Matching features in NLP. Unlike the regular expression where we get an output for a fixed pattern matching, this helps

With widgets, you can make your project more appealing to the audience. Streamlit offers a range of widgets that you can include in your project like buttons, checkboxes, sliders, expanders,

Factory Method is a creational design pattern that asks us to define an interface for creating an object, called Factory interface. These interfaces define the generic structure, but don’t initialize

The builder pattern is a type of creational design pattern, designed to provide a flexible solution to various object creation problems in object-oriented programming. The Builder design pattern intends to

Spacy is a free, open-source library used for advanced natural language processing (NLP), written in the programming languages Python and Cython. Spacy is incredible fast as it’s written in CPython

Design patterns are elegant solutions to repeating problems in software design. These are optimized, reusable solutions to the programming problems that we encounter every day. Design patterns are programming language

Pytest is a testing framework used to write test code in the Python programming language. It is a simple framework that allows you to write the test code in any

When we are presenting the data or model to someone it is desirable to have sections, titles, header, subheaders, tables, etc to present data in a neat manner. Tables and

Streamlit is an open-source app framework for ML & Data Science visualization. It allows the user to create and share beautiful data apps in a matter of hours if not

Kruskal’s Algorithm and Prim’s Algorithm are “minimum spanning tree” algorithms. For the implementation of these algorithms, we must have adequate knowledge of Graphs and Disjoint set data structures

A spanning tree is a subset of a Graph, which has all the vertices covered using a minimum possible number of edges. A spanning tree comprises all the vertices of a given graph. Hence, the graph under consideration must be connected.

The All Pair Shortest Path Problem is about finding a path between each and every vertex to all other vertices in a graph such that the total distance between them is minimum

Bellman-Ford’s algorithm finds the shortest path between any two nodes of a given graph. While traversing the shortest path between two nodes, it is not necessary that every node will be visited

The single-source shortest path problem is about finding the paths between a given vertex(called the source) to all the other vertices(called the destination) in a graph such that the total distance between them is minimum.

A Graph is a non-linear data structure comprising nodes and edges. The nodes of a graph are also called vertices and the lines or arcs connecting two vertices are called edges

Till now we have seen some sophisticated NLP architectures including ANNs, CNNs, RNNs, and their variants. But transformers have shown tremendous potential and are currently replacing these well know architectures

Topological sort algorithm for Directed Acyclic Graph (DAG) is a linear arrangement of vertices such that for every directed edge x-y, vertex x comes before y in the arrangement. Topological sorting is only applicable on graphs that are

The single-source shortest path problem is about finding the paths between a given vertex(called the source) to all the other vertices(called the destination) in a graph such that the total distance between them is minimum

Searching algorithms are implemented to search for elements and retrieve their values from any data structure.

Sorting refers to arranging data in a systematic order, either in ascending or descending order. A Sorting Algorithm is used to rearrange a given array or list of elements by comparing the elements based on some operator.

In the previous articles on Recurrent Neural Networks and Long Short-Term Memory networks, we have seen how these networks work efficiently to solve problems related to NLP. In this article,

Python is an easy-to-learn, powerful programming language. It has efficient high-level data structures and a simple but effective approach to object-oriented programming. Python’s elegant syntax and dynamic typing, together with

In the previous post, we have been introduced to Recurrent Neural Networks. In this post, we will build on that knowledge and look at an important variation of RNN called

Computational Photography refers to digital image capture and processing techniques that use digital computation instead of optical processes. Computational photography can improve the capabilities of a camera, or introduce features