Get unlimited access
Open in app
Home
Notifications
Lists
Stories

Write
DataSeries
Published in

DataSeries

Valentina Alto
Valentina Alto

Jan 31, 2021

·
6 min read
·
Source: https://www.istockphoto.com/it/immagine/balance?excludenudity=false&phrase=balance&sort=mostpopular

How to deal with Unbalanced Dataset in Binary Classification — Part 3

Customized Loss Function with Python

In the previous articles of this series, we have been introducing some techniques to deal with the imbalance in data in binary classification tasks. Part 1 examined some resampling techniques; Part 2 focused on how to modify the algorithm by changing the threshold value.

--

--

More from DataSeries

Imagine the future of data

Read more from DataSeries

Recommended from Medium

Joseph Gardi

Joseph Gardi

No free lunch theorem, lookup tables, and smoothness assumption

John Draper

John Draper

Recommendation Engines — Matrix Factorization

Annika Garbers

Annika Garbers

Decisions: a deeper look — Thoughts on DevOps and Machine Intelligence by SignifAI

Kieran Maher

Kieran Maher

in

DataDrivenInvestor

Will Machine Learning Be The Death of the Lawyer?

Andrew Kondrich

Andrew Kondrich

in

Stanford CS224W GraphML Tutorials

C&S: Use the graph structure in your data with prediction post-processing

Tamar Ervin

Tamar Ervin

Convolutional Neural Network for Coronal Hole Detection

Scalable Path

Scalable Path

in

The Startup

Understanding Bias in Machine Learning

Werbenschmidty

Werbenschmidty

in

Analytics Vidhya

Gensim LDA Topic Modeling for Article Discovery

AboutHelpTermsPrivacy


Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Valentina Alto

Valentina Alto

Cloud Specialist at @Microsoft | MSc in Data Science | Machine Learning, Statistics and Running enthusiast

More from Medium

Thiago Viek

Thiago Viek

in

MLearning.ai

Metric Learning for Steel Surface Classification — Part 2

Nethmi Fonseka

Nethmi Fonseka

Python-compatible Trending Data Science tools (TensorFlow, PyTorch, and Scikit-Learn)

Akash Mishra

Akash Mishra

ML model evaluation using Cross Validation

Victor Bahlangene

Victor Bahlangene

1st Deep learning Project

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Knowable