The Grid in EasyNN-plus can contain numeric, text, image or combinations of different data formats.
Numeric data can be integer, real or boolean (true or false).
Text strings can be entered or Imported into the Grid. Text can mixed with numeric data in Example rows but not in Input/Output columns. Columns can be set to text mode using theEdit dialog or while Importing.
Each text string in the Grid will have an associated numeric value. This numeric value is the sum of the ASCII code multiplied by its position in the string. For example, the word 'Dog' is (68 * 3) + (111 * 2) + (103 * 1) = 529. The numeric value of each text string is checked when it is first calculated to make sure that it is not too close to another string. If it is found to be within 100 of any other string then 101 is added to the numeric value and it is checked again. Every text string has a unique associated numeric value.
EasyNN-plus neural networks use the associated numeric value for all calculations.
Words and phrases do not have any intermediate text that can be calculated. For example, 'Cog' is alphabetically intermediate to 'Cat' and 'Dog' but it does not have much to do with either animal. 'Dog' and 'Cat' will have the associated values of 529 and 713 if they are entered into the same column in that order. The intermediate values will have no associated text. EasyNN-plus will find the nearest associated numerical value for the Output columns of the query rows. The text is prefixed with a series of '~' characters depending on how close it is. The intermediate value 712 would give the text '~Cat', 700 would give '~~Cat' and 600 would give the text '~~~Dog'.
The Edit > Replace facility in EasyNN-plus can replace numeric values with text but this should be used with caution. The numeric values associated with the text will not usually have a direct relationship with the numeric values that are being replaced. The series of numbers 1, 2, 3 and 4 could be replaced with the text One, Two, Three and Four. The associated numeric values would be 558, 702, 1481 and 961. After scaling the original series would be 0.0000, 0.3333, 0.6667 and 1.0000. The replaced text would be 0.0000, 0.1561, 1.000 and 0.4366 after scaling. The two series of numbers do not have a simple relationship so, in this case, text should not be used to replace a simple numerical series.
Images can be entered or Imported into the Grid. Any bitmap image can be used in EasyNN-plus. Bitmaps of different sizes can be mixed. Other image formats (jpeg, gif etc) must be first converted to bitmap format. Images can be mixed with text and numeric data in Example rows but not in Input/Output columns. Columns can be set to image mode using the Edit dialog or while importing.
Each image in the Grid will have a name, a bitmap file and three associated numeric values. These numeric values are the Pixel Pair Code (PC), the Edge Code (EC) and the Block Code (BC). PC is derived by comparing a thousand pairs of pixels in the image. The positions of the top, bottom, left and right outer edges are used to produce EC. The position of the largest block of pixels with the same color is used to produce BC. EasyNN-plus must have access to the bitmap file to produce PC, EC and BC. Large bitmaps will take a few seconds to process. If EasyNN-plus cannot find the bitmap file a selection dialog will be opened so that the file can be located. This selection dialog is also used while a file is being imported whenever a bitmap file is needed. Once the images are in the Grid they can be used to produce networks in the same way as any other type of data. Every image Input and Output column in the Grid will map onto three nodes, a PC node, a EC node and a BC node.
Images can be fragmented into component parts using Edit > Fragment Image. Images and fragments can be associated with the values in other Input/Output columns using Edit > Associate Image.