|
Algorithm 3 Data preparation for training of models
|
-
Input:
, , M,
-
Output:
-
1:
fordo
-
2:
false
-
3:
-
4:
repeat
-
5:
set of all k-element subsets of
-
6:
repeat
-
7:
random element from X
-
8:
-
9:
-
10:
-
11:
if
then
-
12:
true
-
13:
end if
-
14:
until
or
-
15:
-
16:
until
or
-
17:
for
do
-
18:
if
and
then
-
19:
-
20:
else
-
21:
-
22:
end if
-
23:
end for
-
24:
end for
|