Uploaded image for project: 'Machine Learning Library'
  1. Machine Learning Library
  2. ML-212

ML KMeans Clustering field length issue

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Not specified
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      Found in the ML version up on HPCCSYstems:

      The RecordID field in ML.Types.NumericField is defined as an UNSIGNED (unsigned8). The call to MyKMeans.Allegiances() returns a data structure of type ML.Mat.Types.Element which uses an UNSIGNED4 for the x and y fields - resulting in unusable allegiances if the record ids for the data being clustered actually uses all 8 bytes (e.g. ids generated using HASH64 for instance).

      The fix I used locally was to change ML.Mat.Types to use an UNSIGNED8 for t_Index.

      Attachments

        Activity

          People

            emuharemagic Edin Muharemagic
            lneric lneric
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: