themis-ml icon indicating copy to clipboard operation
themis-ml copied to clipboard

Implement "Sampling" fairness-aware preprocessing

Open cosmicBboy opened this issue 6 years ago • 0 comments

Sampling is composed of two methods:

Uniform Sampling

  • uniformly sample (with replacement) n observations from each group, where n is the expected size of that group assuming a uniform distribution (conditioned on the protected class s).

Preferential Sampling

  • sample observations using a ranker R, similar to the massaging method.
  • the procedure is to duplicate the top-ranked X_s1_y+ and X_s0_y– while removing top-ranked X_s1_y– and X_s0_y+.

cosmicBboy avatar Aug 30 '17 04:08 cosmicBboy