Tag: NumPy

  • 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…

  • NumPy and Pandas for Machine Learning

    Both the NumPy and Pandas are essential for scientific computation. It includes machine learning and data science.  By now we have come to know that both are libraries and almost in every step we need them. In this section we will take a close look at what are the key differences between these two libraries.…

  • 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 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…

  • 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…

  • Python libraries for Machine Learning

    There are a lot of python libraries for machine learning. In this section we will take a look at three major libraries which we need the most. Firstly we will discuss NumPy. It is one of the fundamental libraries that we need for machine learning as well as data science.  What can we do with…

  • 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…

  • 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…

  • What is NumPy

    NumPy is one of the most fundamental data science packages in python. We can do scientific computing with NumPy. Therefore NumPy is essential for data science.  What does NumPy do? NumPy provides a multidimensional array object and many more that we will discuss one after another. Step by step. At the very beginning we want…