Tag: matplotlib

  • Pandas sort by column name

    Pandas sort by column name is nothing but a certain type of data analysis. For beginners especially, we can do it to give an idea. Think about the data structure as a spreadsheet where we have multiple rows and columns. Right? Now we can use Pandas to handle a large amount of data because this…

  • Install Jupyter Pandas Matplotlib

    How to install Jupyter Pandas Matplotlib on our machine?  Firstly, let’s start with the Jupyter Notebook on Ubuntu that I use. On that account you need to open your terminal and type a few commands. And that’s all you need to do. In this section we will take a close look at this topic and…

  • Pandas dataframe operations for Machine Learning

    As we said before Pandas is one of the most useful machine learning libraries. However, we need to know Pandas dataframe operations. Especially those operations that we need everyday to train and test data for machine learning. In our previous sections we have seen how we can import different libraries like Pandas, scikit-learn, Matplotlib, and NumPy. Each of them…

  • Pandas and Machine Learning

    Pandas and Machine Learning become synonymous. In fact, in machine learning we use the Pandas library, more than others.  In our previous sections we have seen how we can import different libraries like Pandas, scikit-learn, Matplotlib, and NumPy. However in this section we will start with the Pandas only. Next we will read and operate on data that we…

  • Coefficient and intercept in linear regression

    Coefficient and intercept in linear regression play an important role in machine learning. For the beginners, this concept is essential. Why? Let’s try to understand the topic in this section. Firstly, let’s imagine an equation like below. y = mx + b In the above equation, y is the dependent variable, and x is the…

  • Training a model in Machine Learning

    Training a model in Machine Learning means a lot of things. To make it simple, we can say that a model learns from previous data first. For example, by examining the model, the machine learning algorithms try to read and learn from the pattern of the past data. As a result, it minimizes the error…

  • Linear Regression in Machine Learning

    Linear Regression in machine learning is one of the algorithms that help us to establish a relationship between two variables. We have seen before that it belongs to the supervised learning types. Moreover, it helps us to predict the best outcome based on the datasets that we provide to the machine. Now in this first…

  • Regression models in Machine Learning

    Regression models in machine learning can help us determine the relationship between variables. In this section we will understand this topic. Certainly there are different types of regression models in machine learning, but here we will concentrate on linear regression.  As we just said, we try to find the relationship between two variables.  In our…

  • Python and scikit-learn for Machine Learning

    Why do we need Python and scikit-learn for machine learning? Well, in this short introduction we will try to find out the real reason. Firstly, let’s try to learn why we need Python.  The real reason behind using Python for machine learning is that Python has a ton of libraries designated for machine learning. Secondly,…

  • Machine Learning Python Library

    Which Python library is used for machine learning? Which Python library is used for AI? The answer will point to NumPy and many others. Here very briefly we will take a look at a few libraries that we use quite often in machine learning.  How can we use pandas and matplotlib packages in python and…

  • Is Matplotlib library used for Machine Learning?

    The answer is yes. We use the Matplotlib library or package for machine learning. Why? We will discuss it in this section. And at the same time, we will also discuss why we need a library like Matplotlib in machine learning.  The first and foremost reason is with the help of Matplotlib, we create static,…

  • How to apply categorical plot in Matplotlib

    We can plot categorical data in Matplotlib in many ways. Certainly, we can use Pandas library to create the categories. And after that, we can plot the graph with the help of the Matplotlib library. We will see how we can do that with Pandas and Matplotlib first. And then we will see how Matplotlib makes…

  • Linear Regression, NumPy, and Matplotlib

    We’re going to check how Linear Regression, NumPy and Matplotlib relate to each other. To do that, we need to understand them first. By the way, we’ve seen how they work together in our previous section predicting a common pattern. However, we have not discussed the methods we have used to understand one of the core…

  • Linear Algebra, Vector, Matrix and Data Science

    Linear algebra deals with vectors and matrices. What is a vector? Moreover, what is a Matrix? Above all how linear algebra as a discipline of mathematics relates to them? We’ll discuss the topic in this section. However, before we have discussed what a Vector or Matrix is. Not only that, we will also see how we…

  • NumPy, Matplotlib, Image and Data Science

    Firstly, Data science always relates to data structure and data manipulation. Secondly, the python packages like NumPy or Matplotlib also relate data structure.  However, a data science beginner might not know that. Image is also a representation of data structure. Any image is nothing but an array of floating points. Those numbers represent the amount…

  • Matplotlib in python for data science

    Before using Matplotlib in python for data science, let’s try to understand how this package works. The matplotlib package in python helps us to visualize scientific data. At any rate, matplotlib is one of the most popular scientific packages in python that plots data visually. As a result, we can create any type of plots…