Machine Learning # 2 — Correlation Matrix, Feature Selection, Class Imbalance, Decision Trees, Precision / Recall/ F1 Score

Göker Güner
Global AI Hub
Published in
11 min readDec 14, 2020

--

This post is the second article in my Machine Learning series that I have written to consolidate and share what I have learned. For the first article of the series: link

If you’re not interested in the Turkish of this article, you can skip this paragraph.

Bu yazı, öğrendiklerimi pekiştirmek ve paylaşmak için kaleme aldığım Machine Learning yazı dizimin ikinci yazısıdır. Serinin ilk yazısı için: link

Bu yazının Türkçe versiyonu için: link

Source: https://www.medicalnewstoday.com/articles/322300

Hello, in the second post of my Machine Learning series we

  • Will use a new classification model
  • Will examine the relationship between the predictor variables and the target variable.
  • Will see new methods for data preprocessing
  • Will talk about new methods we can use to measure the performance of our model.

It will also be an article where we will talk about class imbalances, mistakes we can make while evaluating model performance and what can be done to fix them.

We start by importing our core libraries.

import numpy as np
import pandas as pd
import…

--

--