This file is indexed.

/usr/lib/scilab-ann/demos/encoder_nb.sci is in scilab-ann 0.4.2.4-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// Loose 4-3-4 encoder on a backpropagation network without biases
// (Note that the tight 4-2-4 encoder will not work without biases)

// ensure the same random starting point
rand('seed',0);

// network def.
//  - neurons per layer, including input
N  = [4,3,4];

// inputs
x = [1,0,0,0;
     0,1,0,0;
     0,0,1,0;
     0,0,0,1]';

// targets, at training stage is acts as identity network
t = x;

// learning parameter
lp = [8,0];

// init randomize weights between
r = [-1,1];

W = ann_FF_init_nb(N,r);

// 500 epochs are enough to ilustrate
T = 500;
W = ann_FF_Std_online_nb(x,t,N,W,lp,T);

// full run
ann_FF_run_nb(x,N,W)

// encoder
encoder = ann_FF_run_nb(x,N,W,[2,2])
// decoder
decoder = ann_FF_run_nb(encoder,N,W,[3,3])