## T Test (Students T Test) – Understanding the math and how it works

T Test (Students T Test) is a statistical significance test that is used to compare the means of two groups and determine if the difference in means is statistically significant. In this one, you’ll understand when to use the T-Test, the different types of T-Test, math behind it, how to determine which test to choose …

## Building chatbot with Rasa and spaCy

Conversational AI systems have revolutionized over the decade. Almost every company faces the requirement to use a Chat Bot. Rasa provides a smooth and competitive way to build your own Chat bot. This article will guide you on how to develop your Bot step-by-step simultaneously explaining the concept behind it. Introduction I’m sure each of …

## SpaCy Text Classification – How to Train Text Classification Model in spaCy (Solved Example)?

Text Classification is the process categorizing texts into different groups. SpaCy makes custom text classification structured and convenient through the textcat component. Text classification is often used in situations like segregating movie reviews, hotel reviews, news data, primary topic of the text, classifying customer support emails based on complaint type etc. For many real-life cases, …

## How to use tf.function to speed up Python code in Tensorflow

tf.function is a decorator function provided by Tensorflow 2.0 that converts regular python code to a callable Tensorflow graph function, which is usually more performant and python independent. It is used to create portable Tensorflow models.       Introduction Tensorflow released the second version of the library in September 2019. This version, popularly called …

## Lambda Function in Python – How and When to use?

Lambda Function, also referred to as ‘Anonymous function’ is same as a regular python function but can be defined without a name. 1. What is Lambda Function in Python? Lambda Function, also referred to as ‘Anonymous function’ is same as a regular python function but can be defined without a name. While normal functions are …

## Python Yield – What does the yield keyword do?

Adding yield keyword to a function will make the function return a generator object that can be iterated upon. What does the yield keyword do? Approaches to overcome generator exhaustion How to materialize Generators? How yield works, step by step Exercise 1: Write a program to create a generator that generates cubes of numbers up …

## TensorFlow vs PyTorch – A Detailed Comparison

Compare the popular deep learning frameworks: Tensorflow vs Pytorch. We will go into the details behind how TensorFlow 1.x, TensorFlow 2.0 and PyTorch compare against eachother. And how does keras fit in here. Table of Contents: Introduction Tensorflow: 1.x vs 2 Difference between static and dynamic computation graph Keras integration or rather centralization What is …

## cProfile – How to profile your python code

Reducing code runtime is important for developers. Python Profilers, like cProfile helps to find which part of the program or code takes more time to run. This article will walk you through the process of using cProfile module for extracting profiling data, using the pstats module to report it and snakeviz for visualization. By the …

## Matplotlib Subplots – How to create multiple plots in same figure in Python?

Subplots mean groups of axes that can exist in a single matplotlib figure. subplots() function in the matplotlib library, helps in creating multiple layouts of subplots. It provides control over all the individual plots that are created. Matplotlib Subplots in Python CONTENTS Basic Overview axes() function add_axis() function Creating multiple grids in the same graph …

## 101 NLP Exercises (using modern libraries)

I hope you found this useful. For more such posts, stay tuned to our page ! Desired Output : [{‘label’: ‘POSITIVE’, ‘score’: 0.9998570084571838}] [{‘label’: ‘NEGATIVE’, ‘score’: 0.9994378089904785}] I hope you found this useful. For more such posts, stay tuned to our page ! 59. How to classify a text as positive or negative sentiment with …

## Training Custom NER models in SpaCy to auto-detect named entities [Complete Guide]

Named-entity recognition (NER) is the process of automatically identifying the entities discussed in a text and classifying them into pre-defined categories. Categories could be entities like ‘person’, ‘organization’, ‘location’ and so on. The spaCy library allows you to train NER models by both updating an existing spacy model to suit the specific context of your …

## For-Loop in Julia

For-loop is a type of loop, that iterates over an iterable object or simply a range of values. It executes some user-defined logic in each iteration. Content Introduction to For-loop in Julia Nested Loop List comprehension in Julia Break Statement in For-loop Continue Statement in For-loop Practice Exercise 1. Introduction to For-loop in Julia For-loop …

## DataFrames in Julia

DataFrame is a 2 dimensional mutable data structure, that is used for handling tabular data. Unlike Arrays and Matrices, a DataFrame can hold columns of different data types The DataFrames package in Julia provides the DataFrame object which is used to hold and manipulate tabular data in a flexible and convenient way. It is quite …

## Matplotlib Line Plot – How to create a line plot to visualize the trend?

Line plot is a type of chart that displays information as a series of data points connected by straight line segments. A line plot is often the first plot of choice to visualize any time series data. Contents What is line plot? Simple Line Plot Multiple Line Plot in the same graph Creating a secondary …

## K-Means Clustering Algorithm from Scratch

K-Means Clustering is an unsupervised learning algorithm that aims to group the observations in a given dataset into clusters. The number of clusters is provided as an input. It forms the clusters by minimizing the sum of the distance of points from their respective cluster centroids. Contents Basic Overview Introduction to K-Means Clustering Steps Involved …

## While-loop in Julia

While-loop is a control flow statement, used to execute a set of statements as long as this given control condition holds true. It falls under the indefinite iteration category. Content Intorduction to While-loop in Julia Break Statement Continue Statement Practice Exercise 1. Introduction to While-loop in Julia While-loop is a control flow statement, used to …

## Function in Julia

Function is a block of organized, reusable code that accepts input and returns output. All the computations you wish to do needs to be declared inside the body of the function. In order to call a function, you need to add ( ) along with any parameters inside it. Content Functions in Julia Return keyword …

## Python Scatter Plot – How to visualize relationship between two numeric features

Scatter plot is a graph in which the values of two variables are plotted along two axes. It is a most basic type of plot that helps you visualize the relationship between two variables. Concept What is a Scatter plot? Basic Scatter plot in python Correlation with Scatter plot Changing the color of groups of …

## Julia – Programming Language

Julia is a high performance, high-level programming language. It is very popular because of its high speed, machine learning packages and its expressive syntax. It combines the good parts of Python, R, Ruby, Matlab, and Perl and it runs nearly as fast as C. Besides, it’s super easy to use python and R packages within …

## Requests in Python Tutorial – How to send HTTP requests in Python?

Requests is an elegant and simple Python library built to handle HTTP requests in python easily. It allows you make GET, POST, PUT and other types of requests and process the received response in a flexible Pythonic way. Contents Introduction to Requests Library What is a GET and POST request? GET Method Status Code Contents …

Course Preview