Tag: scikit-learn

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

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