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

add __repr__ in Python ML Models

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.0.0
    • 3.0.0
    • ML, PySpark
    • None

    Description

      In Python ML Models, some of them have __repr__, others don't. In the doctest, when calling Model.setXXX, some of the Models print out the xxxModel... correctly, some of them can't because of lacking the  ____repr__ method. This Jira addresses this issue. 

      Attachments

        Issue Links

          Activity

            People

              huaxingao Huaxin Gao
              huaxingao Huaxin Gao
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: