The programming languages such as C, C++, Java, etc. are statically typed languages meaning the data type of the variable must be declared before you can actually use it in your program. On the other hand, Python is a dynamically typed language which means that you don’t have to declare the data type of the variable beforehand.
Shapash lets you create a beautiful web app for interpreting your machine learning models in seconds as soon as you have the model ready. You don’t have to spend time creating web applications of your own. This saves a lot of time for you and your team. Isn’t this exciting? If you are reading till this point then I am sure you are interested in this.
What are parameters and arguments? Most of the time we use the terms interchangeably — and that’s fine. However, it’s important that you understand the difference between the two. In this article, we’ll explore them in detail. Along the way, you’ll learn all you need to know about parameters and arguments in Python.
Note: If any of the features discussed below give syntax errors, please ensure you’re using a recent version of Python — 3.8 or 3.9.
Parameters are the names that appear in the function definition. …
If you are looking for a database for storing your machine learning models then this article is for you. You can use MongoDB to store and retrieve your machine learning models. Without further adieu let’s jump to the main topic.
MongoDB is a very popular NoSQL database. In MongoDB, the data is stored in the form of JSON-like documents. More specifically, documents are stored in the form of a BSON object which is nothing but binary data represented in JSON format.
The documents and collections in MongoDB are analogous to records and tables in relational database (RDBMS) respectively.
The chances are high that you might have heard about ONNX but not sure what it does and how to use it. Don’t worry, you are in right place. In this beginner-friendly article, you will understand about ONNX. Let’s dive-in.
Assume that you built a deep learning model using the TensorFlow framework for face detection. But unfortunately, you might have to deploy this model in an environment that uses Pytorch. How can you handle this scenario? Well, we can think of two ways to handle this:
a) convert the existing model to a standard format that can work in any…
In this article, you will get a thorough understanding of Python bool type, how it works, and how to effectively use it in your Python application. Let’s get started.
bool datatype is used to represent boolean values —
As you know, everything is an object in Python. That means integers, floats, strings, lists, tuples, etc. are all objects of their respective class. For example, integers are objects of the class
int, floats are the object of the class
float, lists are objects of the class
Similarly, boolean values
False are also the…
We are all familiar with the float data type. Do you know there exists another data type called decimal that can be used to represent real-valued (floating-point) numbers? As we saw in the previous article, some of the float numbers don’t have an exact representation in binary. This inexactness causes rounding errors. The decimal data type tries to solve this problem by providing a way to represent floating-point numbers using fixed precision.
I strongly suggest you go through the below article to understand about fixed (finite) vs. approximate (infinite) representation of floating-point numbers and their implications.
If you are reading this article it’s obvious that you are interested in text summarization. At the same time, you also want to go a step further and build a text summarization app. But you don’t know how to do it as you don’t have front-end experience. Say hello to Streamlit. With Streamlit, you can build beautiful apps in hours without the knowledge of front-end technologies.
Trust me when I say you can actually build beautiful apps in 30 mins using Streamlit as the title of this article say. It only takes 10–15 minutes to figure out the features you…
In the previous article, we have gone through the features of Python
int data type that you are less familiar. Let’s go through the float data type in this article.
Any real value number is represented as float data type such as 0.1, 0.2, 1.234, 56e-4, etc.
The basic arithmetic operations such as addition, subtraction, multiplication, division, floored division, etc. yield the result in float type.
You might be thinking why I am writing about numeric types as there is not much to be explained in detail. Most of us are familiar with basic arithmetic operations such as addition, subtraction, multiplication, and division. But actually, there is more Python offers that we need to understand. So, the goal of this article is to present you with interesting features of Python Int data type.
Any number that can be written without any fractional part is considered as an integer number. For example, 0, 1 , 100, -1001, 4578 etc. are integers.
We all know about addition (+)…