GBDT迴歸樹代碼實現(統計學習方法例子)

給出提高迴歸樹算法的具體步驟:html 2.2 舉個栗子(統計學習方法P149)算法 代碼實現:數組 import numpy as np import math ''' Input: x,y,splint_point_array(該特徵的全部切分點) Output:minloss(全部切分點中最小損失),最優切分點,殘值數組(下一次在此基礎進行擬合) ''' def findBestSplitP
相關文章
相關標籤/搜索