diff options
author | Kilian Fatras <kilianfatras@dhcp-206-12-53-20.eduroam.wireless.ubc.ca> | 2018-08-28 17:24:07 -0700 |
---|---|---|
committer | Kilian Fatras <kilianfatras@dhcp-206-12-53-20.eduroam.wireless.ubc.ca> | 2018-08-28 17:24:07 -0700 |
commit | e885d78cc9608d791a9d1561d2f4e0b783ba0761 (patch) | |
tree | e03a553873f110d1b8e0f15cc6f9248c916a405c /docs/source/auto_examples/plot_otda_classes.py | |
parent | 77b68901c5415ddc5d9ab5215a6fa97723de3de9 (diff) |
debug sgd dual
Diffstat (limited to 'docs/source/auto_examples/plot_otda_classes.py')
-rw-r--r-- | docs/source/auto_examples/plot_otda_classes.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/source/auto_examples/plot_otda_classes.py b/docs/source/auto_examples/plot_otda_classes.py index b14c11a..c311fbd 100644 --- a/docs/source/auto_examples/plot_otda_classes.py +++ b/docs/source/auto_examples/plot_otda_classes.py @@ -25,8 +25,8 @@ import ot n_source_samples = 150 n_target_samples = 150 -Xs, ys = ot.datasets.get_data_classif('3gauss', n_source_samples) -Xt, yt = ot.datasets.get_data_classif('3gauss2', n_target_samples) +Xs, ys = ot.datasets.make_data_classif('3gauss', n_source_samples) +Xt, yt = ot.datasets.make_data_classif('3gauss2', n_target_samples) ############################################################################## @@ -82,7 +82,7 @@ pl.tight_layout() # Fig 2 : plot optimal couplings and transported samples # ------------------------------------------------------ -param_img = {'interpolation': 'nearest', 'cmap': 'spectral'} +param_img = {'interpolation': 'nearest'} pl.figure(2, figsize=(15, 8)) pl.subplot(2, 4, 1) |