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

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.4.5, 3.0.0
    • 2.4.5, 3.0.0
    • ML
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: