Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-12663

More informative error message in MLUtils.loadLibSVMFile

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.0.0
    • MLlib
    • None

    Description

      MLUtils.loadLibSVMFile requires that indices be strictly increasing and it prints an error message if that condition is not met. The message says only "indices should be one-based and in ascending order". It would be helpful to print more information, in order to help the user determine what's the problem with their input file.

      Attachments

        Activity

          People

            robert_dodier Robert Dodier
            robert_dodier Robert Dodier
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: