home *** CD-ROM | disk | FTP | other *** search
/ CICA 1994 September / CICA_Shareware_for_Windows_Walnut_Creek_September_1994.iso / win3 / programr / atre27.exe / ATREE_27 / COUNT.LF < prev    next >
Text File  |  1992-08-01  |  2KB  |  101 lines

  1. #
  2. # count.lf
  3. #
  4. # This is an lf example that learns how to count "fingers".
  5. # Five numbers of either 0 or 1 are presented as the domain
  6. # and the base 10 total of the five numbers is given as the
  7. # codomain.  This example takes only a few minutes to execute.
  8. #
  9. # This type of problem is very difficult for ALNs because
  10. # perturbing the input slightly changes the desired output.
  11. # ALNs work best when perturbing the input does not affect
  12. # the desired output class.  Nevertheless, the example
  13. # illustrates that choosing a large ALN relative to the domain
  14. # size (in this example, there are only 32 possible inputs)
  15. # can still achieve a mapping from input to correct output.
  16. #
  17.  
  18. tree
  19.     size = 512
  20.     vote = 1
  21.     min correct  = 32
  22.     max epochs  = 50
  23.  
  24. function
  25.     domain dimension = 5
  26.     codomain dimension = 1
  27.     coding = 1:1 1:1 1:1 1:1 1:1 6:2
  28.     quantization = 2 2 2 2 2 6
  29.     largest = 1 1 1 1 1 5
  30.     smallest = 0 0 0 0 0 0
  31. training set size = 32
  32. training set =
  33.  
  34. 0 0 0 0 0    0
  35. 0 0 0 0 1    1
  36. 0 0 0 1 0    1
  37. 0 0 0 1 1    2
  38. 0 0 1 0 0    1
  39. 0 0 1 0 1    2
  40. 0 0 1 1 0    2
  41. 0 0 1 1 1    3
  42. 0 1 0 0 0    1
  43. 0 1 0 0 1    2
  44. 0 1 0 1 0    2
  45. 0 1 0 1 1    3
  46. 0 1 1 0 0    2
  47. 0 1 1 0 1    3
  48. 0 1 1 1 0    3
  49. 0 1 1 1 1    4
  50. 1 0 0 0 0    1
  51. 1 0 0 0 1    2
  52. 1 0 0 1 0    2
  53. 1 0 0 1 1    3
  54. 1 0 1 0 0    2
  55. 1 0 1 0 1    3
  56. 1 0 1 1 0    3
  57. 1 0 1 1 1    4
  58. 1 1 0 0 0    2
  59. 1 1 0 0 1    2
  60. 1 1 0 1 0    3
  61. 1 1 0 1 1    4
  62. 1 1 1 0 0    3
  63. 1 1 1 0 1    4
  64. 1 1 1 1 0    4
  65. 1 1 1 1 1    5
  66.  
  67. test set size = 32
  68. test set =
  69.  
  70. 0 0 0 0 0    0
  71. 0 0 0 0 1    1
  72. 0 0 0 1 0    1
  73. 0 0 0 1 1    2
  74. 0 0 1 0 0    1
  75. 0 0 1 0 1    2
  76. 0 0 1 1 0    2
  77. 0 0 1 1 1    3
  78. 0 1 0 0 0    1
  79. 0 1 0 0 1    2
  80. 0 1 0 1 0    2
  81. 0 1 0 1 1    3
  82. 0 1 1 0 0    2
  83. 0 1 1 0 1    3
  84. 0 1 1 1 0    3
  85. 0 1 1 1 1    4
  86. 1 0 0 0 0    1
  87. 1 0 0 0 1    2
  88. 1 0 0 1 0    2
  89. 1 0 0 1 1    3
  90. 1 0 1 0 0    2
  91. 1 0 1 0 1    3
  92. 1 0 1 1 0    3
  93. 1 0 1 1 1    4
  94. 1 1 0 0 0    2
  95. 1 1 0 0 1    2
  96. 1 1 0 1 0    3
  97. 1 1 0 1 1    4
  98. 1 1 1 0 0    3
  99. 1 1 1 0 1    4
  100. 1 1 1 1 0    4
  101. 1 1 1 1 1    5