Browse files

Adding a note on fairness (#5197)

  • Loading branch information...
random-forests authored and robieta committed Aug 28, 2018
1 parent d1c48af commit 0d105c323dfbfcf1ec9247d1a22b59e59f30fad2
Showing with 2 additions and 0 deletions.
  1. +2 −0 official/wide_deep/
@@ -6,6 +6,8 @@ Here, we use the [wide and deep model](

For the purposes of this example code, the Census Income Data Set was chosen to allow the model to train in a reasonable amount of time. You'll notice that the deep model performs almost as well as the wide and deep model on this dataset. The wide and deep model truly shines on larger data sets with high-cardinality features, where each feature has millions/billions of unique possible values (which is the specialty of the wide model).

Finally, a key point. As a modeler and developer, think about how this dataset is used and the potential benefits and harm a model's predictions can cause. A model like this could reinforce societal biases and disparities. Is a feature relevant to the problem you want to solve, or will it introduce bias? For more information, read about [ML fairness](


The code sample in this directory uses the high level `tf.estimator.Estimator` API. This API is great for fast iteration and quickly adapting models to your own datasets without major code overhauls. It allows you to move from single-worker training to distributed training, and it makes it easy to export model binaries for prediction.

0 comments on commit 0d105c3

Please sign in to comment.