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

ML KMeans Clustering field length issue

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Not specified
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      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

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

              Dates

              Created:
              Updated:
              Resolved: