diff --git a/examples/usecase/README.txt b/examples/usecase/README.txt index 57127282599f607b44a590f0eb567b146418ef10..4ac353474eb09034ff415a2d04d64865dc880163 100644 --- a/examples/usecase/README.txt +++ b/examples/usecase/README.txt @@ -1,6 +1,6 @@ -Use Case Examples ------------------ +Use Case Examples on Digit +-------------------------- The following toy examples illustrate how the multimodal as usecase on digit dataset of sklearn diff --git a/examples/usecase/__init__.py b/examples/usecase/__init__.py index e892bb5a7603f248d8605e3c548838a6543e3c70..0ac2ddf53b0918a21c55a4b80f9839933d0e4cd6 100644 --- a/examples/usecase/__init__.py +++ b/examples/usecase/__init__.py @@ -3,5 +3,7 @@ ========= init file ========= +init file + """ diff --git a/examples/usecase/plot_usecase_exampleMKL.py b/examples/usecase/plot_usecase_exampleMKL.py index 77ecb7653b892481c80cd28373ccc7cf8bb9d009..ba5d540482bdbb7fb04acf49828b4a404f47f4c2 100644 --- a/examples/usecase/plot_usecase_exampleMKL.py +++ b/examples/usecase/plot_usecase_exampleMKL.py @@ -1,8 +1,8 @@ # -*- coding: utf-8 -*- """ -============ -Use Case MKL -============ +===================== +Use Case MKL on digit +===================== Use case for all classifier of multimodallearn MKL multi class digit from sklearn, multivue - vue 0 digit data (color of sklearn) @@ -42,10 +42,10 @@ if __name__ == '__main__': fig = plt.figure(figsize=(12., 11.)) fig.suptitle("MKL : result" + str(result4), fontsize=16) - plot_subplot(X_train, y_train, y_pred44 ,0, (4, 1, 1), "train vue 0" ) - plot_subplot(X_test, y_test,y_pred4 , 0, (4, 1, 2), "test vue 0" ) - plot_subplot(X_test, y_test, y_pred4,1, (4, 1, 3), "test vue 1" ) - plot_subplot(X_test, y_test,y_pred4, 2, (4, 1, 4), "test vue 2" ) + plot_subplot(X_train, y_train, y_pred44 ,0, (4, 1, 1), "train vue 0 color" ) + plot_subplot(X_test, y_test,y_pred4 , 0, (4, 1, 2), "test vue 0 color" ) + plot_subplot(X_test, y_test, y_pred4,1, (4, 1, 3), "test vue 1 gradiant 0" ) + plot_subplot(X_test, y_test,y_pred4, 2, (4, 1, 4), "test vue 2 gradiant 1" ) # plt.legend() plt.show() diff --git a/examples/usecase/plot_usecase_exampleMVML.py b/examples/usecase/plot_usecase_exampleMVML.py index 8f86a8bc16b69427b32cbaef4c028d3db3b813ac..b865862b1602b1249adff4f667f68e8076df7d52 100644 --- a/examples/usecase/plot_usecase_exampleMVML.py +++ b/examples/usecase/plot_usecase_exampleMVML.py @@ -1,8 +1,8 @@ # -*- coding: utf-8 -*- """ -================ -Use Case of MVML -================ +========================= +Use Case of MVML on digit +======================== Use case for all classifier of multimodallearn MVML multi class digit from sklearn, multivue @@ -40,10 +40,10 @@ if __name__ == '__main__': fig = plt.figure(figsize=(12., 11.)) fig.suptitle("MVML: result" + str(result1), fontsize=16) plot_subplot(X_train, y_train, y_pred11 - , 0, (4, 1, 1), "train vue 0" ) - plot_subplot(X_test, y_test,y_pred1, 0, (4, 1, 2), "test vue 0" ) - plot_subplot(X_test, y_test, y_pred1, 1, (4, 1, 3), "test vue 1" ) - plot_subplot(X_test, y_test,y_pred1, 2, (4, 1, 4), "test vue 2" ) + , 0, (4, 1, 1), "train vue 0 color" ) + plot_subplot(X_test, y_test,y_pred1, 0, (4, 1, 2), "test vue 0 color" ) + plot_subplot(X_test, y_test, y_pred1, 1, (4, 1, 3), "test vue 1 gradiant 0" ) + plot_subplot(X_test, y_test,y_pred1, 2, (4, 1, 4), "test vue 2 gradiant 1" ) #plt.legend() plt.show() diff --git a/examples/usecase/plot_usecase_exampleMuCuBo.py b/examples/usecase/plot_usecase_exampleMuCuBo.py index fa7490a51c1e3410b91e7a4cbcdb85557277fe15..42a7698b847bd12014ff526af88c21553c566572 100644 --- a/examples/usecase/plot_usecase_exampleMuCuBo.py +++ b/examples/usecase/plot_usecase_exampleMuCuBo.py @@ -1,8 +1,8 @@ # -*- coding: utf-8 -*- """ -================ -Use Case MuCumBo -================ +========================= +Use Case MuCumBo on digit +========================= Use case for all classifier of multimodallearn MuCumBo multi class digit from sklearn, multivue @@ -41,9 +41,9 @@ if __name__ == '__main__': fig = plt.figure(figsize=(12., 11.)) fig.suptitle("MuCumbo: result" + str(result3), fontsize=16) - plot_subplot(X_train, y_train, y_pred33 ,0, (4, 1, 1), "train vue 0" ) - plot_subplot(X_test, y_test,y_pred3 , 0, (4, 1, 2), "test vue 0" ) - plot_subplot(X_test, y_test, y_pred3,1, (4, 1, 3), "test vue 1" ) - plot_subplot(X_test, y_test,y_pred3, 2, (4, 1, 4), "test vue 2" ) + plot_subplot(X_train, y_train, y_pred33 ,0, (4, 1, 1), "train vue 0 color" ) + plot_subplot(X_test, y_test,y_pred3 , 0, (4, 1, 2), "test vue 0 color" ) + plot_subplot(X_test, y_test, y_pred3,1, (4, 1, 3), "test vue 1 gradiant 0" ) + plot_subplot(X_test, y_test,y_pred3, 2, (4, 1, 4), "test vue 2 gradiant 1" ) # plt.legend() plt.show() \ No newline at end of file diff --git a/examples/usecase/plot_usecase_exampleMumBo.py b/examples/usecase/plot_usecase_exampleMumBo.py index 76e4020e88fb204c8715668dd200bc447ac5297c..e3995c648351a85cc50810fa4a253183e265b184 100644 --- a/examples/usecase/plot_usecase_exampleMumBo.py +++ b/examples/usecase/plot_usecase_exampleMumBo.py @@ -1,8 +1,8 @@ # -*- coding: utf-8 -*- """ -============== -Use Case MumBo -============== +======================= +Use Case MumBo on digit +======================= Use case for all classifier of multimodallearn MumBo multi class digit from sklearn, multivue