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

Deprecate numTrees in GBT at 2.4.5 and remove it at 3.0.0

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.4.5, 3.0.0
    • Fix Version/s: 2.4.5, 3.0.0
    • Component/s: ML
    • Labels:
      None

      Description

      Currently, GBT has

      /**
       * Number of trees in ensemble
       */
      @Since("2.0.0")
      val getNumTrees: Int = trees.length

      and

      /** Number of trees in ensemble */
      val numTrees: Int = trees.length

      I will deprecate numTrees in 2.4.5 and remove it in 3.0.0

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: