Skip to content

Commit

Permalink
Merge pull request #109 from dabayliss/documentnits
Browse files Browse the repository at this point in the history
Fix a couple of minor working issues

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
  • Loading branch information
richardkchapman committed Mar 21, 2012
2 parents 03295aa + 020bc9b commit 3c6a9fb
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docs/MachineLearning.xml
Expand Up @@ -971,8 +971,7 @@ d;

<para>It has 14 rows of data. Each row has 5 interesting data fields
and a <emphasis>record id</emphasis> that is prepended to uniquely
identify the record (the ECL record has to have the record-id
prepended (so a 10 field ECL record actually has 11 fields).</para>
identify the record. Therefore a '5 field ECL record' actually has 6 fields.</para>

<para>ML provides the ToField operation that converts a record in this
general format to the NumericField format. Thus:</para>
Expand All @@ -983,7 +982,9 @@ o
</programlisting>

<para>Shows not only the original data, but also the data in the
standard ML NumericField format. The latter has 70 rows (5x14). If a
standard ML NumericField format. The latter has 70 rows (5x14). Incidentally:
ToField is an example of a macro that uses a 'out' parameter (o) rather than returning
a value. If a
file has N rows and M columns then the order of the ToField operation
will be O(mn). It is also possible to turn the NumericField format
back into a ‘regular’ ECL style record using the FromField operation:
Expand Down

0 comments on commit 3c6a9fb

Please sign in to comment.