Uploaded image for project: 'Apache MADlib'
  1. Apache MADlib
  2. MADLIB-748

error in c45_genrule

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      Hi,
      Just a typo in c45_genrule: maxclass should be max_class.

      madtest=> select * from madlib.c45_genrule('foo_tree_model');
      ERROR: column "maxclass" does not exist
      LINE 1: SELECT id, maxclass, probability,
      ^
      QUERY: SELECT id, maxclass, probability,
      sample_size, lmc_nid, lmc_fval
      FROM foo_tree_model
      WHERE id = 1
      CONTEXT: PL/pgSQL function "c45_genrule" line 66 at EXECUTE statement
      PL/pgSQL function "c45_genrule" line 6 at FOR over EXECUTE statement

      Attachments

        Activity

          People

            ishiihara Liquan Pei
            floybix Felix Andrews
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: