ANN toolbox

ANN toolbox Commit Details

Date:2010-09-07 11:59:09 (8 years 11 days ago)
Author:Allan Cornet
Branch:master
Commit:5c1bcb78e0a6d225488afec6b993df200538b58d
Parents: 77d225c15ad1e8816bb174c058165df596210e07
Message:update for Scilab 5.3.0

Changes:
Dhelp/en_US/addchapter.sce (full)
Dloader.sce
A.gitignore (full)
Amacros/cleanmacros.sce (full)
Mbuilder.sce
Mchangelog.txt
Mdemos/ANN.dem.gateway.sce
Mdemos/README.examples
Mdemos/enc838_m.sce
Mdemos/enc838_m.sci
Mdemos/enc848_m_nb.sce
Mdemos/enc848_m_nb.sci
Mdemos/enc848_ssab.sce
Mdemos/enc848_ssab.sci
Mdemos/enc858_ssab_nb.sce
Mdemos/enc858_ssab_nb.sci
Mdemos/encoder.sce
Mdemos/encoder.sci
Mdemos/encoder_cc.sce
Mdemos/encoder_cc.sci
Mdemos/encoder_m.sce
Mdemos/encoder_m.sci
Mdemos/encoder_m_nb.sce
Mdemos/encoder_m_nb.sci
Mdemos/encoder_nb.sce
Mdemos/encoder_nb.sci
Metc/ANN_toolbox.start (1 diff)
Mhelp/builder_help.sce (1 diff)
Mhelp/en_US/ANN.xml
Mhelp/en_US/ANN_FF.xml
Mhelp/en_US/ANN_GEN.xml
Mhelp/en_US/ann_FF_ConjugGrad.xml
Mhelp/en_US/ann_FF_Hess.xml
Mhelp/en_US/ann_FF_INT.xml
Mhelp/en_US/ann_FF_Jacobian.xml
Mhelp/en_US/ann_FF_Jacobian_BP.xml
Mhelp/en_US/ann_FF_Mom_batch.xml
Mhelp/en_US/ann_FF_Mom_batch_nb.xml
Mhelp/en_US/ann_FF_Mom_online.xml
Mhelp/en_US/ann_FF_Mom_online_nb.xml
Mhelp/en_US/ann_FF_SSAB_batch.xml
Mhelp/en_US/ann_FF_SSAB_batch_nb.xml
Mhelp/en_US/ann_FF_SSAB_online.xml
Mhelp/en_US/ann_FF_SSAB_online_nb.xml
Mhelp/en_US/ann_FF_Std_batch.xml
Mhelp/en_US/ann_FF_Std_batch_nb.xml
Mhelp/en_US/ann_FF_Std_online.xml
Mhelp/en_US/ann_FF_Std_online_nb.xml
Mhelp/en_US/ann_FF_VHess.xml
Mhelp/en_US/ann_FF_grad.xml
Mhelp/en_US/ann_FF_grad_BP.xml
Mhelp/en_US/ann_FF_grad_BP_nb.xml
Mhelp/en_US/ann_FF_grad_nb.xml
Mhelp/en_US/ann_FF_init.xml
Mhelp/en_US/ann_FF_init_nb.xml
Mhelp/en_US/ann_FF_run.xml
Mhelp/en_US/ann_FF_run_nb.xml
Mhelp/en_US/ann_d_log_activ.xml
Mhelp/en_US/ann_d_sum_of_sqr.xml
Mhelp/en_US/ann_log_activ.xml
Mhelp/en_US/ann_pat_shuffle.xml
Mhelp/en_US/ann_sum_of_sqr.xml
Mhelp/en_US/build_help.sce
Mmacros/ann_FF_ConjugGrad.sci
Mmacros/ann_FF_Hess.sci
Mmacros/ann_FF_Jacobian.sci
Mmacros/ann_FF_Jacobian_BP.sci
Mmacros/ann_FF_Mom_batch.sci
Mmacros/ann_FF_Mom_batch_nb.sci
Mmacros/ann_FF_Mom_online.sci
Mmacros/ann_FF_Mom_online_nb.sci
Mmacros/ann_FF_SSAB_batch.sci
Mmacros/ann_FF_SSAB_batch_nb.sci
Mmacros/ann_FF_SSAB_online.sci
Mmacros/ann_FF_SSAB_online_nb.sci
Mmacros/ann_FF_Std_batch.sci
Mmacros/ann_FF_Std_batch_nb.sci
Mmacros/ann_FF_Std_online.sci
Mmacros/ann_FF_Std_online_nb.sci
Mmacros/ann_FF_VHess.sci
Mmacros/ann_FF_grad.sci
Mmacros/ann_FF_grad_BP.sci
Mmacros/ann_FF_grad_BP_nb.sci
Mmacros/ann_FF_grad_nb.sci
Mmacros/ann_FF_init.sci
Mmacros/ann_FF_init_nb.sci
Mmacros/ann_FF_run.sci
Mmacros/ann_FF_run_nb.sci
Mmacros/ann_d_log_activ.sci
Mmacros/ann_d_sum_of_sqr.sci
Mmacros/ann_log_activ.sci
Mmacros/ann_pat_shuffle.sci
Mmacros/ann_sum_of_sqr.sci
Mmacros/buildmacros.sce
Mreadme.txt

File differences

.gitignore
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#
# Generated files (common)
#
jar/
*.bin
lib
names
loader.sce
cleaner.sce
#
# Generated files (Windows)
#
*.bak
master_help.xml
scilab_*_help
#
# Generated files (Linux)
#
etc/ANN_toolbox.start
1
1
22
3
34
4
5
6
5
76
8
7
98
10
11
9
10
11
12
1213
13
14
15
16
1417
15
18
1619
17
18
20
21
1922
23
2024
21
22
23
24
25
26
2725
26
2827
29
30
31
32
33
28
29
30
31
32
33
34
35
36
37
38
3439
35
36
40
41
42
43
44
45
46
3747
3848
39
40
41
42
// ====================================================================
// =============================================================================
// Allan CORNET
// Copyright DIGITEO 2010
// Copyright INRIA 2008
// ====================================================================
warning_mode = warning('query');
warning('off');
// =============================================================================
disp('Start ANN Toolbox');
mprintf("Start ANN Toolbox 0.4.2.3\n");
etc_tlbx = get_absolute_file_path('ANN_toolbox.start');
etc_tlbx = getshortpathname(etc_tlbx);
if isdef("ANN_toolboxlib") then
warning("ANN Toolbox 0.4.2.3 library is already loaded");
return;
end
root_tlbx = strncpy( etc_tlbx, length(etc_tlbx)-length('\etc\') );
etc_tlbx = get_absolute_file_path("ANN_toolbox.start");
etc_tlbx = getshortpathname(etc_tlbx);
root_tlbx = strncpy( etc_tlbx, length(etc_tlbx)-length("\etc\") );
pathmacros = pathconvert( root_tlbx ) + 'macros'+ filesep();
//Load functions library
// =============================================================================
disp('Load macros');
//Load functions librarie
mprintf("\tLoad macros\n");
pathmacros = pathconvert( root_tlbx ) + "macros" + filesep();
ANN_toolboxlib = lib(pathmacros);
clear pathmacros;
disp('Load help');
// =============================================================================
//add help chapter
path_addchapter = root_tlbx+"/jar";
add_help_chapter("ANN Toolbox 0.4.2.2",path_addchapter,%F);
clear path_addchapter add_help_chapter;
// Load and add help chapter
// =============================================================================
//add demo
disp('Add demos');
pathdemos = pathconvert(root_tlbx+"/demos/ANN.dem.gateway.sce",%f,%t);
add_demo("ANN Toolbox 0.4.2.2",pathdemos);
clear pathdemos ;
if or(getscilabmode() == ["NW";"STD"]) then
mprintf("\tLoad help\n");
path_addchapter = pathconvert(root_tlbx+"/jar");
if ( isdir(path_addchapter) <> [] ) then
add_help_chapter("ANN Toolbox 0.4.2.3", path_addchapter, %F);
clear add_help_chapter;
end
clear path_addchapter;
end
// Load demos
// =============================================================================
clear warning_mode;
clear path_addchapter;
if or(getscilabmode() == ["NW";"STD"]) then
mprintf("\tLoad demos\n");
pathdemos = pathconvert(root_tlbx+"/demos/ANN.dem.gateway.sce",%F,%T);
add_demo("ANN Toolbox 0.4.2.3", pathdemos);
clear pathdemos add_demo;
end
clear root_tlbx;
clear etc_tlbx;
clear pathmacros;
clear pathconvert;
// =============================================================================
help/builder_help.sce
33
44
55
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
6
7
// Allan CORNET
// ====================================================================
help_dir_tlbx_ANN = get_absolute_file_path('builder_help.sce');
backup_dir = pwd();
chdir(help_dir_tlbx_ANN);
if ( isdir(getdefaultlanguage()) ) then
chdir(getdefaultlanguage());
exec('build_help.sce',-1);
else
end
chdir(backup_dir);
// ====================================================================
clear help_dir_tlbx_ANN;
clear backup_dir;
// ====================================================================
tbx_builder_help_lang(["en_US"], ..
get_absolute_file_path("builder_help.sce"));
help/en_US/addchapter.sce
1
2
3
4
5
6
7
8
9
10
// ====================================================================
// help ANN toolbox
// Add chapter
// Copyright INRIA 2008
// Allan CORNET
// ====================================================================
path = get_absolute_file_path('addchapter.sce');
add_help_chapter("ANN Toolbox 0.4.2.2",path,%F);
clear path add_help_chapter;
// ====================================================================
macros/cleanmacros.sce
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// ====================================================================
// Allan CORNET
// DIGITEO 2009
// This file is released into the public domain
// ====================================================================
libpath = get_absolute_file_path('cleanmacros.sce');
binfiles = ls(libpath+'/*.bin');
for i = 1:size(binfiles,'*')
mdelete(binfiles(i));
end
mdelete(libpath+'/names');
mdelete(libpath+'/lib');
// ====================================================================

Archive Download the corresponding diff file

Branches