Random is a module in the Numpy library for providing random numerical data in any required data structure. It contains simple functions/methods to generate random numbers, permutations and probability distributions. In this tutorial, we will understand how to use these functions and create random data as per our needs.
One of the most common situations while writing code is getting stuck on an unidentifiable error. In such a case, python's ecosystem helps us to trace back our function calls with the help of traceback reports, to find out the exception raised. Exceptions raised simply define the type of error our program has run into.
Window Functions perform computation over a set of rows called windows and return an aggregated value for each row. In this notebook, we will look at how a window function is executed within a SQL query.
The shell is the outermost layer around an operating system that uses utilities called commands to interact and access your computer's OS services. It allows users to enter a command instead of clicking buttons and returns a result within the terminal itself. There are several commands that you can use on the terminal. Below we will be looking at some basic and most frequent commands that are used to navigate through the filesystem.
An http status code represents whether a request from a client to the server was successful or not. These are attached to the web pages sent from the server to the user.
Python is a powerful programming language yet extremely simple to learn. It is built around the philosophy of minimal code to get the same work done. This makes it a forerunner among other programming languages for extensive usage in the domains of data science and machine learning.
In this notebook, we will learn how to download a Kaggle dataset using the open datasets library with an API token.
Kaggle is an online community platform for data scientists and machine learning enthusiasts. It allows users to find and publish data sets, explore and build models in a web-based data-science environment.
Analyzing the model metric is one of the most crucial tasks while training any Machine Learning or Deep Learning model. It allows us to diagnose the model statistics if the model prediction is not up to the mark. In this article, I will discuss how we can log the model metric from model architecture, hardware metric and epoch data in Wandb.ai.
Pandas offers a variety of tools & methods to optimize the data loading, pre-processing, and analyzing process. Datasets with millions of rows can be processed using Pandas smoothly. map
, apply
, & applymap
are such methods that allow element-wise modification of a Dataframe or Series.
Window Functions perform computation over a set of rows called windows and return an aggregated value for each row. Aggregate Functions are used to return a summarised value of multiple rows that make some mathematical sense. You can use aggregate functions as Window Functions with the help of the OVER() clause.
AVG() as an aggregate function is used to return a single value as the average of a stated numeric column. When used as a window function, it will still return the average of a specific column but instead of returning a single value, it will return the running average at each row/window.
Python provides four basic inbuilt data structures that are: List, Tuple, Dictionary, and Set. To iterate through them, we use skills called Slicing and Indexing. Before getting into these, we need to understand the concept of an Index.
*args and **kwargs are special syntax's used while defining a function to pass a variable number of arguments. We will look at how to use them in the code examples below. It is not complusory to use args and kwargs as parameter name, you can simply add the asterisk's but it is common practise to them so we will be sticking with that today.
Natural Language Processing is a field of study focusing on computer understanding of human or “natural” language. In this article, we will explore the most basic NLP technique - The bag of Words model