Note
Go to the end to download the full example code or to run this example in your browser via JupyterLite or Binder.
Face completion with a multi-output estimators#
This example shows the use of multi-output estimator to complete images. The goal is to predict the lower half of a face given its upper half.
The first column of images shows true faces. The next columns illustrate how extremely randomized trees, k nearest neighbors, linear regression and ridge regression complete the lower half of those faces.