Uploaded image for project: 'Hivemall'
  1. Hivemall
  2. HIVEMALL-253

UDF map_roulette() created

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.6.0
    • Fix Version/s: 0.6.0
    • Labels:
      None

      Description

      In data processing process, we usually encounter the problem that we have some selection and their probably(or weight), we should select one of them according to their probably(or weight).

      UDF map_roulette() is a implement of roulette. It can select a Key from a map according to key's weight  value.

        Attachments

          Activity

            People

            • Assignee:
              myui Makoto Yui
              Reporter:
              solodye Aaron Wong
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: