dateline   Wed Sep 14 15:38:59 2016
progname   C:\beagling\p3\root.py
id         C:\beagling\parapath\airbomb.txt
traindat   c:\beagling\takeoff\airbomb_dat1.dat
targval    bombing - fighting

====subsampling trial :

rank  safeness case  name                          pred:true      cellsize      abdsiff     diffsqrd
   1      0.78   66  Douglas_A26B               0.9286 + 1              28         0.07         0.01
   2      0.78   46  Bristol_Blenheim_IV        0.9286 - 0              28         0.93         0.86
   3      0.78   28  Junkers_Ju88               0.9286 - 0              28         0.93         0.86
   4      0.78   20  Dornier_Do217              0.9286 - 0              28         0.93         0.86
   5      0.70   70  Lockheed_Hudson_I          0.8148 + 1              27         0.19         0.03
   6      0.70   42  ArmstrongWhitworth_W       0.8148 + 1              27         0.19         0.03
   7      0.70   72  Martin_B26B                   0.8 + 1              20         0.20         0.04
   8      0.70   65  Douglas_A20G                  0.8 - 0              20         0.80         0.64
   9      0.70   51  HandleyPage_Hampden_          0.8 + 1              20         0.20         0.04
  10      0.70    6  Fiat_BR20_Cicogna             0.8 + 1              20         0.20         0.04
  11      0.69   62  Consolidated_PBY5A         0.7917 + 1              24         0.21         0.04
  12      0.69   60  Boeing_B29                 0.7917 + 1              24         0.21         0.04
  13      0.69   45  Bristol_Beaufort           0.7917 + 1              24         0.21         0.04
  14      0.69    5  Cant_Z1007_Alcione         0.7917 + 1              24         0.21         0.04
  15      0.65   58  Vickers_Wellington_I       0.7692 + 1              26         0.23         0.05
  16      0.65   34  Ilyushin_II4               0.7692 + 1              26         0.23         0.05
  17      0.65   26  Junkers_Ju53               0.7586 + 1              29         0.24         0.06
  18      0.65   15  Mitsubishi_G4M             0.7586 + 1              29         0.24         0.06
  19      0.65   71  Lockheed_Lightning_P       0.7576 - -1             33         1.76         3.09
  20      0.65   56  Short_Stirling_III         0.7576 + 1              33         0.24         0.06
  21      0.65   39  Tupolev_SB2                0.7576 + 1              33         0.24         0.06
  22      0.65   17  Nakajima_Ki43              0.7576 - -1             33         1.76         3.09
  23      0.65   11  Kawasaki_Ki45              0.7576 - -1             33         1.76         3.09
  24      0.62   52  HandleyPage_Halifax_       0.7188 + 1              32         0.28         0.08
  25      0.62   40  Tupolev_Tu2                0.7188 - 0              32         0.72         0.52
  26      0.62   19  Arado_Ar234_Blitz          0.7188 + 1              32         0.28         0.08
  27      0.62    9  Savoia_Marchetti_SM7       0.7188 + 1              32         0.28         0.08
  28      0.57   27  Junkers_Ju87_Stuka          0.375 + 1               8         0.62         0.39
  29      0.56   32  Messerschmitt_Me410           0.0 - -1             11         1.00         1.00
  30      0.56   23  Heinkel_He111                 0.0 - 1              11         1.00         1.00
  31      0.56   14  Mitsubishi_G3M                0.0 - 1              11         1.00         1.00
  32      0.53   31  Messerschmitt_163_Ko      -0.3571 + -1             14         0.64         0.41
  33      0.53   10  Aichi_D3A                 -0.3571 - 1              14         1.36         1.84
  34      0.53    3  Potez_63                  -0.3571 - 0              14         0.36         0.13
  35      0.55   76  Vought_F4U1D                 -0.4 + -1             25         0.60         0.36
  36      0.55   53  Hawker_Hurricane_I           -0.4 + -1             25         0.60         0.36
  37      0.55   44  Bristol_Beaufighter_         -0.4 + -1             25         0.60         0.36
  38      0.55   33  Messerschmitt_Me262          -0.4 + -1             25         0.60         0.36
  39      0.55   18  Yokosuka_D4Y                 -0.4 - 0              25         0.40         0.16
  40      0.55   13  Mitsubishi_A6M_Zero          -0.4 + -1             25         0.60         0.36
  41      0.65   64  Curtiss_SB2C3                -0.5 - 1              10         1.50         2.25
  42      0.65   54  Hawker_Typhoon_IB            -0.5 + -1             10         0.50         0.25
  43      0.65   50  Gloster_Meteor_I             -0.5 + -1             10         0.50         0.25
  44      0.59   57  Supermarine_Spitfire      -0.6364 + -1             11         0.36         0.13
  45      0.61   75  Republic_P47D             -0.6875 + -1             16         0.31         0.10
  46      0.64   49  Gloster_Gladiator_I         -0.75 + -1             28         0.25         0.06
  47      0.64   29  Messerschmitt_Bf109         -0.75 + -1             28         0.25         0.06
  48      0.64   16  Nakajima_B5N                -0.75 - 1              28         1.75         3.06
  49      0.64    7  Macchi_C200_Saetta          -0.75 + -1             28         0.25         0.06
  50      0.66   63  Curtiss_P40E               -0.775 + -1             40         0.22         0.05
  51      0.66   37  Polikarpov_I153            -0.775 - 0              40         0.78         0.60
  52      0.66   35  Lavochkin_La5              -0.775 + -1             40         0.22         0.05
  53      0.66   22  FockeWulf_Fw190D           -0.775 + -1             40         0.22         0.05
  54      0.66    1  Dewoitine_D_520            -0.775 + -1             40         0.22         0.05
  55      0.70    8  Macchi_C202_Folgore          -0.8 + -1             15         0.20         0.04
  56      0.67   69  Grumman_F6F3              -0.8108 + -1             37         0.19         0.04
  57      0.67   68  Grumman_F4F4              -0.8108 + -1             37         0.19         0.04
  58      0.67   67  Douglas_SBD3              -0.8108 - 1              37         1.81         3.28
  59      0.67   61  Brewster_Buffalo_F2A      -0.8108 + -1             37         0.19         0.04
  60      0.67   48  Fairey_Firefly_I          -0.8108 - 0              37         0.81         0.66
  61      0.64    2  Morane_Saulnier_MS_4      -0.8125 + -1             16         0.19         0.04
  62      0.67   47  DeHavilland_Mosquito      -0.8158 - 0              38         0.82         0.67
  63      0.67   24  Heinkel_He162             -0.8158 + -1             38         0.18         0.03
  64      0.67   12  Kawasaki_Ki61             -0.8158 + -1             38         0.18         0.03
  65      0.67    4  Fokker_DXXI               -0.8158 + -1             38         0.18         0.03
  66      0.65   59  Bell_P39Q                 -0.8421 + -1             19         0.16         0.02
  67      0.65   41  Yakolev_Yak3              -0.8421 + -1             19         0.16         0.02
  68      0.65   21  FockeWulf_Fw190           -0.8421 - 0              19         0.84         0.71
  69      0.74   38  Polikarpov_I16            -0.8824 + -1             17         0.12         0.01
  70      0.74   36  Lavochkin_LaGG3           -0.8824 + -1             17         0.12         0.01
  71      0.74   25  Henschel_Hs123            -0.8824 - 1              17         1.88         3.54
  72      0.74    0  Boomerang_CA_12           -0.8824 + -1             17         0.12         0.01
+---+++-++++++++++-++--+-+++---+--++++-+-++++++-++-++++++-+-+-+++++-++-+

'success' percentage = 69.44
pearson correlation between predicted & true vals = 0.6293
spearman rank-correlation between predicted & true vals = 0.5832

mean abs.error = 0.5388
mean error ^ 2 = 0.5271
correlation between safeness & abs.error (negative better) = -0.122

Resultant rule from all training cases :
c:\beagling\takeoff\airbomb_dat1.dat
Wed Sep 14 15:38:59 2016
tabular
77 16
bombing - fighting
[-1, -0.07792207792207792, 0, 1]
[77, -0.07792207792207792, 0.9225350979313268, 1]
$
( ( topspeed ^ ( headroom + carrying ) ) > 401 )
( wingspan & ( ( $Root wingspan - 3.6864 ) - $Root cannons ) )
$
00  [3, 0.6666666666666666, 0.4714045207910317]
01  [9, 0.8888888888888888, 0.31426968052735443]
10  [45, -0.7777777777777778, 0.46613726585340065]
11  [24, 0.7916666666666666, 0.40611643103370687]
[-0.3104256854256851, -8.0]
$


Parameter settings :
brevity   1
casefold  0
catfrex   {0: 11, 1: 30, -1: 36}
catlist   [-1, 0, 1]
cats      3
cols      16
cols2use  <class 'list'> of 14 items.
cutvals   <class 'dict'> of 14 items.
datamat   <class 'list'> of 77 items.
dateline  Wed Sep 14 15:38:59 2016
dumpfile  ~ c:\beagling\takeoff\airbomb_dump.txt
foldcase  0
goodcols  <class 'set'> of 14 items.
goodlist  <class 'list'> of 14 items.
id        C:\beagling\parapath\airbomb.txt
idfield   name
jobname   airbomb
listfile  ~ c:\beagling\takeoff\airbomb_list.txt
longtime  3600
m1        0.5
m2        0.25
mainreps  8
nres      72
nstrings  13
ntrials   131072
outfile   ..\op\root.txt
outpath   c:\beagling\takeoff\
popsize   233
priorvec  [77, -0.07792207792207792, 0.9225350979313268, 1]
progname  C:\beagling\p3\root.py
randseed  1999
rows      77
rulefile  ~ c:\beagling\takeoff\airbomb_rule.txt
rulemode  tabular
skipvars  ['']
smalldif  1
stabrows  4
strcols   [0, 15]
strdict   {0: ['r', 'a', 'u', '3', 'Heinkel', 'ng_'], 15: ['us', 'gb', 'germany', 'japan', 'ussr', 'italy', 'france', 'oz', 'nl']}
subrules  2
subtries  16384
tagdict   <class 'dict'> of 16 items.
taglist   <class 'list'> of 16 items.
targcol   -1
targcuts  [-1, -0.07792207792207792, 0, 1]
targmean  -0.0779
targnorm  0
targval   bombing - fighting
targvals  <class 'list'> of 77 items.
testsubs  [0, 66, 36, 38, 75, 46, 20, 25, 28]
traindat  c:\beagling\takeoff\airbomb_dat1.dat
training  <class 'list'> of 77 items.
trigfunx  0
zonk      0

