Changeset 14
- Timestamp:
- 08/17/09 17:22:18 (15 years ago)
- Location:
- trunk/private
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/private/script_app.m
r3 r14 12 12 [nets(n,i).W1 nets(n,i).W2]=MLPinit(base_app_n(:,1:end-1),base_app_n(:,end),archi(n)); 13 13 14 %Apprentissage du r seau14 %Apprentissage du reseau 15 15 [nets(n,i).W1 nets(n,i).W2]=MLPfit(base_val_n(:,1:end-1),base_val_n(:,end),base_app_n(:,1:end-1), ... 16 16 base_app_n(:,end),nets(n,i).W1,nets(n,i).W2,'tah','lin',[1500,1e-6],[100,1]); -
trunk/private/script_correc.m
r3 r14 1 %SCRIPT_CORREC correction 2 3 %+ 4 % module 5 % ====== 6 % 7 % correction du TP 8 % 9 % 10 % DESCRIPTION 11 % =========== 12 % 13 % ++ 14 % 15 % EXAMPLES 16 % ======== 17 % 18 % :: 19 % 20 % >> addpath('../toolbox') 21 % >> tp_mlp_aerosols_startup 22 % >> more off 23 % >> script_correc 24 % 25 % SEE ALSO 26 % ======== 27 % 28 % tp_mlp_aerosols_startup.m_ 29 % 30 % .. _tp_mlp_aerosols_startup.m : tp_mlp_aerosols_startup.m.html 31 % 32 % intersect_octave.m_ 33 % 34 % .. _intersect_octave.m : intersect_octave.m.html 35 % 36 % TODO 37 % ==== 38 % 39 % improve description 40 % 41 % avoid overriding existing output file 42 % 43 % make it launchable from everywhere (path and IO directories) 44 % 45 % Running octave, ``more off`` is compulsary but I don't not yet why 46 % 47 % save output (sdout and figures) to make comparisons possible 48 % 49 % EVOLUTIONS 50 % ========== 51 % 52 % $Id$ 53 % 54 % - fplod 2009-08-17T12:39:51Z aedon.locean-ipsl.upmc.fr (Darwin) 55 % 56 % * add header 57 % * add octave intersect_octave 58 % * add octave suptitle_octave 59 % 60 %- 61 62 63 1 64 %Ajout du path 2 65 addpath ('../toolbox'); … … 16 79 17 80 %fusion 670nm avec 765nm 18 [parambase,I1,I2]=intersect(LUT_NIR(i670,[1:5]),LUT_NIR(i765,[1:5]),'rows'); 81 if (run_octave == 0) 82 [parambase,I1,I2]=intersect(LUT_NIR(i670,[1:5]),LUT_NIR(i765,[1:5]),'rows'); 83 else 84 [parambase,I1,I2]=intersect_octave(LUT_NIR(i670,[1:5]),LUT_NIR(i765,[1:5]),'rows'); 85 end 19 86 base=[parambase LUT_NIR(i670(I1),7) LUT_NIR(i765(I2),7)]; 20 87 21 88 %fusion de base avec 670nm avec base 22 [parambase,I1,I2]=intersect(base(:,[1:5]),LUT_NIR(i865,[1:5]),'rows'); 89 if (run_octave == 0) 90 [parambase,I1,I2]=intersect(base(:,[1:5]),LUT_NIR(i865,[1:5]),'rows'); 91 else 92 [parambase,I1,I2]=intersect_octave(base(:,[1:5]),LUT_NIR(i865,[1:5]),'rows'); 93 end 23 94 24 95 %base=[thetas,thetav,dphi,Rho_aer(670),Rho_aer(765),Rho_aer(865) tau] … … 74 145 title('Test norm'); 75 146 76 suptitle(stitle{j}); 147 if (run_octave == 0) 148 suptitle(stitle{j}); 149 else 150 error('eee : octave can not write supertitle'); 151 end 77 152 78 153 end
Note: See TracChangeset
for help on using the changeset viewer.