article thumbnail

ML internals: Synthetic Minority Oversampling (SMOTE) Technique

Domino Data Lab

Working with highly imbalanced data can be problematic in several aspects: Distorted performance metrics — In a highly imbalanced dataset, say a binary dataset with a class ratio of 98:2, an algorithm that always predicts the majority class and completely ignores the minority class will still be 98% correct. return synthetic.

article thumbnail

Explaining black-box models using attribute importance, PDPs, and LIME

Domino Data Lab

Because of its architecture, intrinsically explainable ANNs can be optimised not just on its prediction performance, but also on its explainability metric. Conference on Knowledge Discovery and Data Mining, pp. def create_model(): sgd = optimizers.SGD(lr=0.01, decay=0, momentum=0.9, Ribeiro, M. Guestrin, C., Bahdanau, D.,

Modeling 139
Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Trending Sources

article thumbnail

Experiment design and modeling for long-term studies in ads

The Unofficial Google Data Science Blog

Nevertheless, A/B testing has challenges and blind spots, such as: the difficulty of identifying suitable metrics that give "works well" a measurable meaning. In this blog post, we summarize that paper and refer you to it for details. This is essentially the same as finding a truly useful objective to optimize. 2] Ron Kohavi, Randal M.

article thumbnail

Variance and significance in large-scale online services

The Unofficial Google Data Science Blog

The LSOS may do this by exposing a random group of users to the new design and compare them to a control group, and then analyze the effect on important user engagement metrics, such as bounce rate, time to first action, or number of experiences deemed positive. In addition to a suitable metric, we must also choose our experimental unit.

article thumbnail

LSOS experiments: how I learned to stop worrying and love the variability

The Unofficial Google Data Science Blog

Variance reduction through conditioning Suppose, as an LSOS experimenter, you find that your key metric varies a lot by country and time of day. And since the metric average is different in each hour of day, this is a source of variation in measuring the experimental effect. Obviously, this doesn’t have to be true.