Tag: machine learning

  • Can we learn all Machine Learning algorithms in one place?

    Yes, we can learn all machine learning algorithms such as linear regression, decision trees, and neural networks at one go. Firstly we will prefer good books over online courses. There are reasons or algorithms behind this decision. Certainly it is not a linear decision. At the same time we can go through some research papers…

  • How to build ChatGPT?

    If you plan to build ChatGPT, go slow. Do not spoil the wonder with haste. Why am I saying this? Well, let us try to learn together. Certainly we can build an application like ChatGPT. Especially after learning artificial intelligence, as a project we can start building a language model like ChatGPT. However, we need…

  • How can we learn Artificial Intelligence?

    If we want to learn Artificial Intelligence or in short AI, there are a few steps that we need to follow. It’s like a one way ticket. Why do we call it a one way ticket? Because there is no alternative to Artificial Intelligence. Ultimately we have to learn it. The emergence of ChatGPT tells…

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

  • Multivariate regression in machine learning

    Multivariate Regression in Machine Learning is a supervised machine learning algorithm. In this section we will take a close look. How does this linear regression model work? How can we train our model to predict an outcome based on a formula? In this section we will try to understand this important concept and dig some…

  • Do you need good math for machine learning?

    How much math for machine learning do we need to learn? This question probably haunts every beginner who has no math-background. In this section we will take a look at the tip of the iceberg. As we progress, we will learn more about basic mathematics and statistics that we need for machine learning. Firstly, for…

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

  • How do you predict a single value in linear regression?

    How to predict a single value in linear regression using a machine learning model? Let’s try to understand with a simple example. In our previous section we have discussed how we can use the linear regression method of the scikit-learn library to make it happen. However, to do this operation we also need another great…

  • Machine Learning on the Iris dataset

    Machine Learning on the Iris dataset is quite easier than other datasets that are available on the Internet. Let’s learn with examples. We use the Iris dataset as a supervised learning problem.  Because in this case, the prediction of the species of an iris using the measurements is easy. We have seen a few examples…

  • Linear regression and Machine Learning relationship

    Certainly there is a linear regression and machine learning relationship that we will discuss in this section. We’ll take help from Iris Data. In the previous section we have seen that linear regression is an algorithm based on supervised learning.  The regression task that it performs is nothing but modeling a target prediction based on…

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

  • Data Model and Learning in Machine Learning

    In this section we will discuss three key concepts in machine learning – data model and learning. How they are related and their functions. In previous sections we have discussed a few other key concepts, such as Python and scikit-learn, the role of python libraries in machine learning and many more. However, we have not…

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