ML之XGBoost:利用XGBoost算法对波士顿数据集回归预测(模型调参【2种方法,ShuffleSplit+GridSearchCV、TimeSeriesSplitGSCV】、模型评估)

简介: ML之XGBoost:利用XGBoost算法对波士顿数据集回归预测(模型调参【2种方法,ShuffleSplit+GridSearchCV、TimeSeriesSplitGSCV】、模型评估)

T2、TimeSeriesSplit=GSCV模型调参


输出XGBR_GSCV模型最佳得分、最优参数:0.8772,{'learning_rate': 0.15, 'max_depth': 3, 'n_estimators': 200}

XGBR_TimeS_GSCV time: 365.73213645175

XGBoost Score value: 0.8392863414585984

XGBoost R2    value: 0.8392863414585984

XGBoost MAE   value: 2.265871170374352

XGBoost RMSE  value: 3.5301480357113575

Fitting 6 folds for each of 320 candidates, totalling 1920 fits

[Parallel(n_jobs=1)]: Using backend SequentialBackend with 1 concurrent workers.

[Parallel(n_jobs=1)]: Done 1920 out of 1920 | elapsed:  6.1min finished

0.601753 (0.041626) with: {'learning_rate': 0.03, 'max_depth': 1, 'n_estimators': 50}

0.741963 (0.052567) with: {'learning_rate': 0.03, 'max_depth': 1, 'n_estimators': 100}

0.769275 (0.057973) with: {'learning_rate': 0.03, 'max_depth': 1, 'n_estimators': 150}

0.777850 (0.062691) with: {'learning_rate': 0.03, 'max_depth': 1, 'n_estimators': 200}

0.761917 (0.044601) with: {'learning_rate': 0.03, 'max_depth': 3, 'n_estimators': 50}

0.849871 (0.032589) with: {'learning_rate': 0.03, 'max_depth': 3, 'n_estimators': 100}

0.860943 (0.036123) with: {'learning_rate': 0.03, 'max_depth': 3, 'n_estimators': 150}

0.865884 (0.036296) with: {'learning_rate': 0.03, 'max_depth': 3, 'n_estimators': 200}

0.768191 (0.046584) with: {'learning_rate': 0.03, 'max_depth': 5, 'n_estimators': 50}

0.847475 (0.037179) with: {'learning_rate': 0.03, 'max_depth': 5, 'n_estimators': 100}

0.857618 (0.034498) with: {'learning_rate': 0.03, 'max_depth': 5, 'n_estimators': 150}

0.860371 (0.034667) with: {'learning_rate': 0.03, 'max_depth': 5, 'n_estimators': 200}

0.762532 (0.043118) with: {'learning_rate': 0.03, 'max_depth': 7, 'n_estimators': 50}

0.838141 (0.032139) with: {'learning_rate': 0.03, 'max_depth': 7, 'n_estimators': 100}

0.846885 (0.027194) with: {'learning_rate': 0.03, 'max_depth': 7, 'n_estimators': 150}

0.850041 (0.025481) with: {'learning_rate': 0.03, 'max_depth': 7, 'n_estimators': 200}

0.757383 (0.050920) with: {'learning_rate': 0.03, 'max_depth': 9, 'n_estimators': 50}

0.834539 (0.037476) with: {'learning_rate': 0.03, 'max_depth': 9, 'n_estimators': 100}

0.845794 (0.033418) with: {'learning_rate': 0.03, 'max_depth': 9, 'n_estimators': 150}

0.848075 (0.032044) with: {'learning_rate': 0.03, 'max_depth': 9, 'n_estimators': 200}

0.754782 (0.053572) with: {'learning_rate': 0.03, 'max_depth': 11, 'n_estimators': 50}

0.831093 (0.039371) with: {'learning_rate': 0.03, 'max_depth': 11, 'n_estimators': 100}

0.838982 (0.034142) with: {'learning_rate': 0.03, 'max_depth': 11, 'n_estimators': 150}

0.841296 (0.031967) with: {'learning_rate': 0.03, 'max_depth': 11, 'n_estimators': 200}

0.756791 (0.051747) with: {'learning_rate': 0.03, 'max_depth': 13, 'n_estimators': 50}

0.830920 (0.039090) with: {'learning_rate': 0.03, 'max_depth': 13, 'n_estimators': 100}

0.840551 (0.032427) with: {'learning_rate': 0.03, 'max_depth': 13, 'n_estimators': 150}

0.843931 (0.030071) with: {'learning_rate': 0.03, 'max_depth': 13, 'n_estimators': 200}

0.756117 (0.054046) with: {'learning_rate': 0.03, 'max_depth': 15, 'n_estimators': 50}

0.831666 (0.040286) with: {'learning_rate': 0.03, 'max_depth': 15, 'n_estimators': 100}

0.840035 (0.034584) with: {'learning_rate': 0.03, 'max_depth': 15, 'n_estimators': 150}

0.843151 (0.032286) with: {'learning_rate': 0.03, 'max_depth': 15, 'n_estimators': 200}

0.745626 (0.052724) with: {'learning_rate': 0.06, 'max_depth': 1, 'n_estimators': 50}

0.777825 (0.062635) with: {'learning_rate': 0.06, 'max_depth': 1, 'n_estimators': 100}

0.790555 (0.063551) with: {'learning_rate': 0.06, 'max_depth': 1, 'n_estimators': 150}

0.795161 (0.067328) with: {'learning_rate': 0.06, 'max_depth': 1, 'n_estimators': 200}

0.850889 (0.032347) with: {'learning_rate': 0.06, 'max_depth': 3, 'n_estimators': 50}

0.867786 (0.034764) with: {'learning_rate': 0.06, 'max_depth': 3, 'n_estimators': 100}

0.870313 (0.035557) with: {'learning_rate': 0.06, 'max_depth': 3, 'n_estimators': 150}

0.870957 (0.036189) with: {'learning_rate': 0.06, 'max_depth': 3, 'n_estimators': 200}

0.850339 (0.038543) with: {'learning_rate': 0.06, 'max_depth': 5, 'n_estimators': 50}

0.864939 (0.034315) with: {'learning_rate': 0.06, 'max_depth': 5, 'n_estimators': 100}

0.865762 (0.033280) with: {'learning_rate': 0.06, 'max_depth': 5, 'n_estimators': 150}

0.865658 (0.032928) with: {'learning_rate': 0.06, 'max_depth': 5, 'n_estimators': 200}

0.839195 (0.034252) with: {'learning_rate': 0.06, 'max_depth': 7, 'n_estimators': 50}

0.852720 (0.027235) with: {'learning_rate': 0.06, 'max_depth': 7, 'n_estimators': 100}

0.853702 (0.027123) with: {'learning_rate': 0.06, 'max_depth': 7, 'n_estimators': 150}

0.853363 (0.026771) with: {'learning_rate': 0.06, 'max_depth': 7, 'n_estimators': 200}

0.835426 (0.038498) with: {'learning_rate': 0.06, 'max_depth': 9, 'n_estimators': 50}

0.850673 (0.029506) with: {'learning_rate': 0.06, 'max_depth': 9, 'n_estimators': 100}

0.851901 (0.028517) with: {'learning_rate': 0.06, 'max_depth': 9, 'n_estimators': 150}

0.852140 (0.028341) with: {'learning_rate': 0.06, 'max_depth': 9, 'n_estimators': 200}

0.830953 (0.038574) with: {'learning_rate': 0.06, 'max_depth': 11, 'n_estimators': 50}

0.843297 (0.032231) with: {'learning_rate': 0.06, 'max_depth': 11, 'n_estimators': 100}

0.844927 (0.031055) with: {'learning_rate': 0.06, 'max_depth': 11, 'n_estimators': 150}

0.845079 (0.030915) with: {'learning_rate': 0.06, 'max_depth': 11, 'n_estimators': 200}

0.832709 (0.036911) with: {'learning_rate': 0.06, 'max_depth': 13, 'n_estimators': 50}

0.844690 (0.029680) with: {'learning_rate': 0.06, 'max_depth': 13, 'n_estimators': 100}

0.846225 (0.028501) with: {'learning_rate': 0.06, 'max_depth': 13, 'n_estimators': 150}

0.846421 (0.028346) with: {'learning_rate': 0.06, 'max_depth': 13, 'n_estimators': 200}

0.832991 (0.037219) with: {'learning_rate': 0.06, 'max_depth': 15, 'n_estimators': 50}

0.846270 (0.027385) with: {'learning_rate': 0.06, 'max_depth': 15, 'n_estimators': 100}

0.847907 (0.026163) with: {'learning_rate': 0.06, 'max_depth': 15, 'n_estimators': 150}

0.848179 (0.025976) with: {'learning_rate': 0.06, 'max_depth': 15, 'n_estimators': 200}

0.769494 (0.058840) with: {'learning_rate': 0.09, 'max_depth': 1, 'n_estimators': 50}

0.791904 (0.061566) with: {'learning_rate': 0.09, 'max_depth': 1, 'n_estimators': 100}

0.798994 (0.066574) with: {'learning_rate': 0.09, 'max_depth': 1, 'n_estimators': 150}

0.803098 (0.068958) with: {'learning_rate': 0.09, 'max_depth': 1, 'n_estimators': 200}

0.857212 (0.039482) with: {'learning_rate': 0.09, 'max_depth': 3, 'n_estimators': 50}

0.864690 (0.041052) with: {'learning_rate': 0.09, 'max_depth': 3, 'n_estimators': 100}

0.866892 (0.042026) with: {'learning_rate': 0.09, 'max_depth': 3, 'n_estimators': 150}

0.867056 (0.044514) with: {'learning_rate': 0.09, 'max_depth': 3, 'n_estimators': 200}

0.863862 (0.033670) with: {'learning_rate': 0.09, 'max_depth': 5, 'n_estimators': 50}

0.867507 (0.032224) with: {'learning_rate': 0.09, 'max_depth': 5, 'n_estimators': 100}

0.867579 (0.032191) with: {'learning_rate': 0.09, 'max_depth': 5, 'n_estimators': 150}

0.867328 (0.032260) with: {'learning_rate': 0.09, 'max_depth': 5, 'n_estimators': 200}

0.847872 (0.030395) with: {'learning_rate': 0.09, 'max_depth': 7, 'n_estimators': 50}

0.851244 (0.028736) with: {'learning_rate': 0.09, 'max_depth': 7, 'n_estimators': 100}

0.851237 (0.028451) with: {'learning_rate': 0.09, 'max_depth': 7, 'n_estimators': 150}

0.851150 (0.028505) with: {'learning_rate': 0.09, 'max_depth': 7, 'n_estimators': 200}

0.852037 (0.030096) with: {'learning_rate': 0.09, 'max_depth': 9, 'n_estimators': 50}

0.856354 (0.027161) with: {'learning_rate': 0.09, 'max_depth': 9, 'n_estimators': 100}

0.856581 (0.027075) with: {'learning_rate': 0.09, 'max_depth': 9, 'n_estimators': 150}

0.856585 (0.027095) with: {'learning_rate': 0.09, 'max_depth': 9, 'n_estimators': 200}

0.842612 (0.037117) with: {'learning_rate': 0.09, 'max_depth': 11, 'n_estimators': 50}

0.846502 (0.034153) with: {'learning_rate': 0.09, 'max_depth': 11, 'n_estimators': 100}

0.846631 (0.034112) with: {'learning_rate': 0.09, 'max_depth': 11, 'n_estimators': 150}

0.846628 (0.034114) with: {'learning_rate': 0.09, 'max_depth': 11, 'n_estimators': 200}

0.837185 (0.045250) with: {'learning_rate': 0.09, 'max_depth': 13, 'n_estimators': 50}

0.841045 (0.042592) with: {'learning_rate': 0.09, 'max_depth': 13, 'n_estimators': 100}

0.841290 (0.042421) with: {'learning_rate': 0.09, 'max_depth': 13, 'n_estimators': 150}

0.841292 (0.042423) with: {'learning_rate': 0.09, 'max_depth': 13, 'n_estimators': 200}

0.836856 (0.044501) with: {'learning_rate': 0.09, 'max_depth': 15, 'n_estimators': 50}

0.841215 (0.041712) with: {'learning_rate': 0.09, 'max_depth': 15, 'n_estimators': 100}

0.841468 (0.041614) with: {'learning_rate': 0.09, 'max_depth': 15, 'n_estimators': 150}

0.841467 (0.041616) with: {'learning_rate': 0.09, 'max_depth': 15, 'n_estimators': 200}

0.780448 (0.061299) with: {'learning_rate': 0.12, 'max_depth': 1, 'n_estimators': 50}

0.795945 (0.066888) with: {'learning_rate': 0.12, 'max_depth': 1, 'n_estimators': 100}

0.802161 (0.068522) with: {'learning_rate': 0.12, 'max_depth': 1, 'n_estimators': 150}

0.802621 (0.068183) with: {'learning_rate': 0.12, 'max_depth': 1, 'n_estimators': 200}

0.865637 (0.033886) with: {'learning_rate': 0.12, 'max_depth': 3, 'n_estimators': 50}

0.867696 (0.038014) with: {'learning_rate': 0.12, 'max_depth': 3, 'n_estimators': 100}

0.867815 (0.038860) with: {'learning_rate': 0.12, 'max_depth': 3, 'n_estimators': 150}

0.867725 (0.040073) with: {'learning_rate': 0.12, 'max_depth': 3, 'n_estimators': 200}

0.862285 (0.036140) with: {'learning_rate': 0.12, 'max_depth': 5, 'n_estimators': 50}

0.862022 (0.035454) with: {'learning_rate': 0.12, 'max_depth': 5, 'n_estimators': 100}

0.860983 (0.034947) with: {'learning_rate': 0.12, 'max_depth': 5, 'n_estimators': 150}

0.860190 (0.035108) with: {'learning_rate': 0.12, 'max_depth': 5, 'n_estimators': 200}

0.842677 (0.036587) with: {'learning_rate': 0.12, 'max_depth': 7, 'n_estimators': 50}

0.843950 (0.035671) with: {'learning_rate': 0.12, 'max_depth': 7, 'n_estimators': 100}

0.843875 (0.035644) with: {'learning_rate': 0.12, 'max_depth': 7, 'n_estimators': 150}

0.843844 (0.035605) with: {'learning_rate': 0.12, 'max_depth': 7, 'n_estimators': 200}

0.843541 (0.033950) with: {'learning_rate': 0.12, 'max_depth': 9, 'n_estimators': 50}

0.845166 (0.033044) with: {'learning_rate': 0.12, 'max_depth': 9, 'n_estimators': 100}

0.845168 (0.033025) with: {'learning_rate': 0.12, 'max_depth': 9, 'n_estimators': 150}

0.845168 (0.033025) with: {'learning_rate': 0.12, 'max_depth': 9, 'n_estimators': 200}

0.836159 (0.037345) with: {'learning_rate': 0.12, 'max_depth': 11, 'n_estimators': 50}

0.838014 (0.036395) with: {'learning_rate': 0.12, 'max_depth': 11, 'n_estimators': 100}

0.838049 (0.036371) with: {'learning_rate': 0.12, 'max_depth': 11, 'n_estimators': 150}

0.838049 (0.036371) with: {'learning_rate': 0.12, 'max_depth': 11, 'n_estimators': 200}

0.836390 (0.036978) with: {'learning_rate': 0.12, 'max_depth': 13, 'n_estimators': 50}

0.838276 (0.035834) with: {'learning_rate': 0.12, 'max_depth': 13, 'n_estimators': 100}

0.838287 (0.035842) with: {'learning_rate': 0.12, 'max_depth': 13, 'n_estimators': 150}

0.838287 (0.035842) with: {'learning_rate': 0.12, 'max_depth': 13, 'n_estimators': 200}

0.832744 (0.040432) with: {'learning_rate': 0.12, 'max_depth': 15, 'n_estimators': 50}

0.834029 (0.039399) with: {'learning_rate': 0.12, 'max_depth': 15, 'n_estimators': 100}

0.834041 (0.039407) with: {'learning_rate': 0.12, 'max_depth': 15, 'n_estimators': 150}

0.834041 (0.039407) with: {'learning_rate': 0.12, 'max_depth': 15, 'n_estimators': 200}

0.788286 (0.060777) with: {'learning_rate': 0.15, 'max_depth': 1, 'n_estimators': 50}

0.800992 (0.066420) with: {'learning_rate': 0.15, 'max_depth': 1, 'n_estimators': 100}

0.805570 (0.064051) with: {'learning_rate': 0.15, 'max_depth': 1, 'n_estimators': 150}

0.804252 (0.066082) with: {'learning_rate': 0.15, 'max_depth': 1, 'n_estimators': 200}

0.873263 (0.037228) with: {'learning_rate': 0.15, 'max_depth': 3, 'n_estimators': 50}

0.876110 (0.038150) with: {'learning_rate': 0.15, 'max_depth': 3, 'n_estimators': 100}

0.876937 (0.036679) with: {'learning_rate': 0.15, 'max_depth': 3, 'n_estimators': 150}

0.877158 (0.036059) with: {'learning_rate': 0.15, 'max_depth': 3, 'n_estimators': 200}

0.866913 (0.033984) with: {'learning_rate': 0.15, 'max_depth': 5, 'n_estimators': 50}

0.865987 (0.034375) with: {'learning_rate': 0.15, 'max_depth': 5, 'n_estimators': 100}

0.865887 (0.034338) with: {'learning_rate': 0.15, 'max_depth': 5, 'n_estimators': 150}

0.865612 (0.034281) with: {'learning_rate': 0.15, 'max_depth': 5, 'n_estimators': 200}

0.855167 (0.023013) with: {'learning_rate': 0.15, 'max_depth': 7, 'n_estimators': 50}

0.854927 (0.022918) with: {'learning_rate': 0.15, 'max_depth': 7, 'n_estimators': 100}

0.854869 (0.022988) with: {'learning_rate': 0.15, 'max_depth': 7, 'n_estimators': 150}

0.854869 (0.022989) with: {'learning_rate': 0.15, 'max_depth': 7, 'n_estimators': 200}

0.844406 (0.031283) with: {'learning_rate': 0.15, 'max_depth': 9, 'n_estimators': 50}

0.844863 (0.031062) with: {'learning_rate': 0.15, 'max_depth': 9, 'n_estimators': 100}

0.844860 (0.031057) with: {'learning_rate': 0.15, 'max_depth': 9, 'n_estimators': 150}

0.844860 (0.031057) with: {'learning_rate': 0.15, 'max_depth': 9, 'n_estimators': 200}

0.841634 (0.027276) with: {'learning_rate': 0.15, 'max_depth': 11, 'n_estimators': 50}

0.842250 (0.027120) with: {'learning_rate': 0.15, 'max_depth': 11, 'n_estimators': 100}

0.842250 (0.027120) with: {'learning_rate': 0.15, 'max_depth': 11, 'n_estimators': 150}

0.842250 (0.027120) with: {'learning_rate': 0.15, 'max_depth': 11, 'n_estimators': 200}

0.831977 (0.045021) with: {'learning_rate': 0.15, 'max_depth': 13, 'n_estimators': 50}

0.832695 (0.044631) with: {'learning_rate': 0.15, 'max_depth': 13, 'n_estimators': 100}

0.832695 (0.044631) with: {'learning_rate': 0.15, 'max_depth': 13, 'n_estimators': 150}

0.832695 (0.044631) with: {'learning_rate': 0.15, 'max_depth': 13, 'n_estimators': 200}

0.834018 (0.038130) with: {'learning_rate': 0.15, 'max_depth': 15, 'n_estimators': 50}

0.834701 (0.037810) with: {'learning_rate': 0.15, 'max_depth': 15, 'n_estimators': 100}

0.834701 (0.037809) with: {'learning_rate': 0.15, 'max_depth': 15, 'n_estimators': 150}

0.834701 (0.037809) with: {'learning_rate': 0.15, 'max_depth': 15, 'n_estimators': 200}

0.792071 (0.063119) with: {'learning_rate': 0.18, 'max_depth': 1, 'n_estimators': 50}

0.799122 (0.071840) with: {'learning_rate': 0.18, 'max_depth': 1, 'n_estimators': 100}

0.799956 (0.073676) with: {'learning_rate': 0.18, 'max_depth': 1, 'n_estimators': 150}

0.800800 (0.072044) with: {'learning_rate': 0.18, 'max_depth': 1, 'n_estimators': 200}

0.862375 (0.033146) with: {'learning_rate': 0.18, 'max_depth': 3, 'n_estimators': 50}

0.861233 (0.039972) with: {'learning_rate': 0.18, 'max_depth': 3, 'n_estimators': 100}

0.859582 (0.042319) with: {'learning_rate': 0.18, 'max_depth': 3, 'n_estimators': 150}

0.859903 (0.042120) with: {'learning_rate': 0.18, 'max_depth': 3, 'n_estimators': 200}

0.860906 (0.038278) with: {'learning_rate': 0.18, 'max_depth': 5, 'n_estimators': 50}

0.860003 (0.039017) with: {'learning_rate': 0.18, 'max_depth': 5, 'n_estimators': 100}

0.859676 (0.039497) with: {'learning_rate': 0.18, 'max_depth': 5, 'n_estimators': 150}

0.859539 (0.039609) with: {'learning_rate': 0.18, 'max_depth': 5, 'n_estimators': 200}

0.859172 (0.030006) with: {'learning_rate': 0.18, 'max_depth': 7, 'n_estimators': 50}

0.859255 (0.030341) with: {'learning_rate': 0.18, 'max_depth': 7, 'n_estimators': 100}

0.859227 (0.030337) with: {'learning_rate': 0.18, 'max_depth': 7, 'n_estimators': 150}

0.859227 (0.030337) with: {'learning_rate': 0.18, 'max_depth': 7, 'n_estimators': 200}

0.846028 (0.030136) with: {'learning_rate': 0.18, 'max_depth': 9, 'n_estimators': 50}

0.846116 (0.030054) with: {'learning_rate': 0.18, 'max_depth': 9, 'n_estimators': 100}

0.846116 (0.030054) with: {'learning_rate': 0.18, 'max_depth': 9, 'n_estimators': 150}

0.846116 (0.030054) with: {'learning_rate': 0.18, 'max_depth': 9, 'n_estimators': 200}

0.835031 (0.045618) with: {'learning_rate': 0.18, 'max_depth': 11, 'n_estimators': 50}

0.835256 (0.045504) with: {'learning_rate': 0.18, 'max_depth': 11, 'n_estimators': 100}

0.835256 (0.045504) with: {'learning_rate': 0.18, 'max_depth': 11, 'n_estimators': 150}

0.835256 (0.045504) with: {'learning_rate': 0.18, 'max_depth': 11, 'n_estimators': 200}

0.839579 (0.037195) with: {'learning_rate': 0.18, 'max_depth': 13, 'n_estimators': 50}

0.839839 (0.036966) with: {'learning_rate': 0.18, 'max_depth': 13, 'n_estimators': 100}

0.839839 (0.036966) with: {'learning_rate': 0.18, 'max_depth': 13, 'n_estimators': 150}

0.839839 (0.036966) with: {'learning_rate': 0.18, 'max_depth': 13, 'n_estimators': 200}

0.834138 (0.042687) with: {'learning_rate': 0.18, 'max_depth': 15, 'n_estimators': 50}

0.834406 (0.042569) with: {'learning_rate': 0.18, 'max_depth': 15, 'n_estimators': 100}

0.834406 (0.042569) with: {'learning_rate': 0.18, 'max_depth': 15, 'n_estimators': 150}

0.834406 (0.042569) with: {'learning_rate': 0.18, 'max_depth': 15, 'n_estimators': 200}

0.791549 (0.066137) with: {'learning_rate': 0.21, 'max_depth': 1, 'n_estimators': 50}

0.799056 (0.069836) with: {'learning_rate': 0.21, 'max_depth': 1, 'n_estimators': 100}

0.799127 (0.072385) with: {'learning_rate': 0.21, 'max_depth': 1, 'n_estimators': 150}

0.798508 (0.071937) with: {'learning_rate': 0.21, 'max_depth': 1, 'n_estimators': 200}

0.872043 (0.033671) with: {'learning_rate': 0.21, 'max_depth': 3, 'n_estimators': 50}

0.874572 (0.031613) with: {'learning_rate': 0.21, 'max_depth': 3, 'n_estimators': 100}

0.873857 (0.031410) with: {'learning_rate': 0.21, 'max_depth': 3, 'n_estimators': 150}

0.873438 (0.029881) with: {'learning_rate': 0.21, 'max_depth': 3, 'n_estimators': 200}

0.860836 (0.038659) with: {'learning_rate': 0.21, 'max_depth': 5, 'n_estimators': 50}

0.859716 (0.038468) with: {'learning_rate': 0.21, 'max_depth': 5, 'n_estimators': 100}

0.859700 (0.038961) with: {'learning_rate': 0.21, 'max_depth': 5, 'n_estimators': 150}

0.859774 (0.039022) with: {'learning_rate': 0.21, 'max_depth': 5, 'n_estimators': 200}

0.850274 (0.038069) with: {'learning_rate': 0.21, 'max_depth': 7, 'n_estimators': 50}

0.850067 (0.038088) with: {'learning_rate': 0.21, 'max_depth': 7, 'n_estimators': 100}

0.850058 (0.038076) with: {'learning_rate': 0.21, 'max_depth': 7, 'n_estimators': 150}

0.850058 (0.038076) with: {'learning_rate': 0.21, 'max_depth': 7, 'n_estimators': 200}

0.836878 (0.047811) with: {'learning_rate': 0.21, 'max_depth': 9, 'n_estimators': 50}

0.836854 (0.047828) with: {'learning_rate': 0.21, 'max_depth': 9, 'n_estimators': 100}

0.836854 (0.047828) with: {'learning_rate': 0.21, 'max_depth': 9, 'n_estimators': 150}

0.836854 (0.047828) with: {'learning_rate': 0.21, 'max_depth': 9, 'n_estimators': 200}

0.832230 (0.054081) with: {'learning_rate': 0.21, 'max_depth': 11, 'n_estimators': 50}

0.832294 (0.054084) with: {'learning_rate': 0.21, 'max_depth': 11, 'n_estimators': 100}

0.832294 (0.054084) with: {'learning_rate': 0.21, 'max_depth': 11, 'n_estimators': 150}

0.832294 (0.054084) with: {'learning_rate': 0.21, 'max_depth': 11, 'n_estimators': 200}

0.828600 (0.053761) with: {'learning_rate': 0.21, 'max_depth': 13, 'n_estimators': 50}

0.828676 (0.053745) with: {'learning_rate': 0.21, 'max_depth': 13, 'n_estimators': 100}

0.828676 (0.053745) with: {'learning_rate': 0.21, 'max_depth': 13, 'n_estimators': 150}

0.828676 (0.053745) with: {'learning_rate': 0.21, 'max_depth': 13, 'n_estimators': 200}

0.835965 (0.043150) with: {'learning_rate': 0.21, 'max_depth': 15, 'n_estimators': 50}

0.836031 (0.043121) with: {'learning_rate': 0.21, 'max_depth': 15, 'n_estimators': 100}

0.836031 (0.043121) with: {'learning_rate': 0.21, 'max_depth': 15, 'n_estimators': 150}

0.836031 (0.043121) with: {'learning_rate': 0.21, 'max_depth': 15, 'n_estimators': 200}

0.795481 (0.067871) with: {'learning_rate': 0.24, 'max_depth': 1, 'n_estimators': 50}

0.801605 (0.071016) with: {'learning_rate': 0.24, 'max_depth': 1, 'n_estimators': 100}

0.800496 (0.071460) with: {'learning_rate': 0.24, 'max_depth': 1, 'n_estimators': 150}

0.797624 (0.071779) with: {'learning_rate': 0.24, 'max_depth': 1, 'n_estimators': 200}

0.874398 (0.045566) with: {'learning_rate': 0.24, 'max_depth': 3, 'n_estimators': 50}

0.874511 (0.044248) with: {'learning_rate': 0.24, 'max_depth': 3, 'n_estimators': 100}

0.872990 (0.044873) with: {'learning_rate': 0.24, 'max_depth': 3, 'n_estimators': 150}

0.872426 (0.045030) with: {'learning_rate': 0.24, 'max_depth': 3, 'n_estimators': 200}

0.864891 (0.035698) with: {'learning_rate': 0.24, 'max_depth': 5, 'n_estimators': 50}

0.864877 (0.036296) with: {'learning_rate': 0.24, 'max_depth': 5, 'n_estimators': 100}

0.864924 (0.036331) with: {'learning_rate': 0.24, 'max_depth': 5, 'n_estimators': 150}

0.864914 (0.036352) with: {'learning_rate': 0.24, 'max_depth': 5, 'n_estimators': 200}

0.842421 (0.037213) with: {'learning_rate': 0.24, 'max_depth': 7, 'n_estimators': 50}

0.842429 (0.037197) with: {'learning_rate': 0.24, 'max_depth': 7, 'n_estimators': 100}

0.842429 (0.037197) with: {'learning_rate': 0.24, 'max_depth': 7, 'n_estimators': 150}

0.842429 (0.037197) with: {'learning_rate': 0.24, 'max_depth': 7, 'n_estimators': 200}

0.837901 (0.040525) with: {'learning_rate': 0.24, 'max_depth': 9, 'n_estimators': 50}

0.837940 (0.040483) with: {'learning_rate': 0.24, 'max_depth': 9, 'n_estimators': 100}

0.837940 (0.040483) with: {'learning_rate': 0.24, 'max_depth': 9, 'n_estimators': 150}

0.837940 (0.040483) with: {'learning_rate': 0.24, 'max_depth': 9, 'n_estimators': 200}

0.840851 (0.034598) with: {'learning_rate': 0.24, 'max_depth': 11, 'n_estimators': 50}

0.840865 (0.034607) with: {'learning_rate': 0.24, 'max_depth': 11, 'n_estimators': 100}

0.840865 (0.034607) with: {'learning_rate': 0.24, 'max_depth': 11, 'n_estimators': 150}

0.840865 (0.034607) with: {'learning_rate': 0.24, 'max_depth': 11, 'n_estimators': 200}

0.836298 (0.042239) with: {'learning_rate': 0.24, 'max_depth': 13, 'n_estimators': 50}

0.836310 (0.042240) with: {'learning_rate': 0.24, 'max_depth': 13, 'n_estimators': 100}

0.836310 (0.042240) with: {'learning_rate': 0.24, 'max_depth': 13, 'n_estimators': 150}

0.836310 (0.042240) with: {'learning_rate': 0.24, 'max_depth': 13, 'n_estimators': 200}

0.839400 (0.036339) with: {'learning_rate': 0.24, 'max_depth': 15, 'n_estimators': 50}

0.839409 (0.036336) with: {'learning_rate': 0.24, 'max_depth': 15, 'n_estimators': 100}

0.839409 (0.036336) with: {'learning_rate': 0.24, 'max_depth': 15, 'n_estimators': 150}

0.839409 (0.036336) with: {'learning_rate': 0.24, 'max_depth': 15, 'n_estimators': 200}

0.800111 (0.064232) with: {'learning_rate': 0.27, 'max_depth': 1, 'n_estimators': 50}

0.802720 (0.064531) with: {'learning_rate': 0.27, 'max_depth': 1, 'n_estimators': 100}

0.801777 (0.063193) with: {'learning_rate': 0.27, 'max_depth': 1, 'n_estimators': 150}

0.800700 (0.063971) with: {'learning_rate': 0.27, 'max_depth': 1, 'n_estimators': 200}

0.861053 (0.043753) with: {'learning_rate': 0.27, 'max_depth': 3, 'n_estimators': 50}

0.864884 (0.043096) with: {'learning_rate': 0.27, 'max_depth': 3, 'n_estimators': 100}

0.864313 (0.043066) with: {'learning_rate': 0.27, 'max_depth': 3, 'n_estimators': 150}

0.864089 (0.043224) with: {'learning_rate': 0.27, 'max_depth': 3, 'n_estimators': 200}

0.858039 (0.040074) with: {'learning_rate': 0.27, 'max_depth': 5, 'n_estimators': 50}

0.857603 (0.039677) with: {'learning_rate': 0.27, 'max_depth': 5, 'n_estimators': 100}

0.857465 (0.039709) with: {'learning_rate': 0.27, 'max_depth': 5, 'n_estimators': 150}

0.857458 (0.039712) with: {'learning_rate': 0.27, 'max_depth': 5, 'n_estimators': 200}

0.850983 (0.028739) with: {'learning_rate': 0.27, 'max_depth': 7, 'n_estimators': 50}

0.850913 (0.029035) with: {'learning_rate': 0.27, 'max_depth': 7, 'n_estimators': 100}

0.850913 (0.029035) with: {'learning_rate': 0.27, 'max_depth': 7, 'n_estimators': 150}

0.850913 (0.029035) with: {'learning_rate': 0.27, 'max_depth': 7, 'n_estimators': 200}

0.838340 (0.046207) with: {'learning_rate': 0.27, 'max_depth': 9, 'n_estimators': 50}

0.838347 (0.046212) with: {'learning_rate': 0.27, 'max_depth': 9, 'n_estimators': 100}

0.838347 (0.046212) with: {'learning_rate': 0.27, 'max_depth': 9, 'n_estimators': 150}

0.838347 (0.046212) with: {'learning_rate': 0.27, 'max_depth': 9, 'n_estimators': 200}

0.839129 (0.042315) with: {'learning_rate': 0.27, 'max_depth': 11, 'n_estimators': 50}

0.839128 (0.042315) with: {'learning_rate': 0.27, 'max_depth': 11, 'n_estimators': 100}

0.839128 (0.042315) with: {'learning_rate': 0.27, 'max_depth': 11, 'n_estimators': 150}

0.839128 (0.042315) with: {'learning_rate': 0.27, 'max_depth': 11, 'n_estimators': 200}

0.831859 (0.047889) with: {'learning_rate': 0.27, 'max_depth': 13, 'n_estimators': 50}

0.831858 (0.047888) with: {'learning_rate': 0.27, 'max_depth': 13, 'n_estimators': 100}

0.831858 (0.047888) with: {'learning_rate': 0.27, 'max_depth': 13, 'n_estimators': 150}

0.831858 (0.047888) with: {'learning_rate': 0.27, 'max_depth': 13, 'n_estimators': 200}

0.835551 (0.037876) with: {'learning_rate': 0.27, 'max_depth': 15, 'n_estimators': 50}

0.835550 (0.037876) with: {'learning_rate': 0.27, 'max_depth': 15, 'n_estimators': 100}

0.835550 (0.037876) with: {'learning_rate': 0.27, 'max_depth': 15, 'n_estimators': 150}

0.835550 (0.037876) with: {'learning_rate': 0.27, 'max_depth': 15, 'n_estimators': 200}

0.796646 (0.068806) with: {'learning_rate': 0.3, 'max_depth': 1, 'n_estimators': 50}

0.798677 (0.069044) with: {'learning_rate': 0.3, 'max_depth': 1, 'n_estimators': 100}

0.798088 (0.068661) with: {'learning_rate': 0.3, 'max_depth': 1, 'n_estimators': 150}

0.795781 (0.067476) with: {'learning_rate': 0.3, 'max_depth': 1, 'n_estimators': 200}

0.869378 (0.040670) with: {'learning_rate': 0.3, 'max_depth': 3, 'n_estimators': 50}

0.869182 (0.039476) with: {'learning_rate': 0.3, 'max_depth': 3, 'n_estimators': 100}

0.869342 (0.038240) with: {'learning_rate': 0.3, 'max_depth': 3, 'n_estimators': 150}

0.868400 (0.038308) with: {'learning_rate': 0.3, 'max_depth': 3, 'n_estimators': 200}

0.868980 (0.030734) with: {'learning_rate': 0.3, 'max_depth': 5, 'n_estimators': 50}

0.868601 (0.031693) with: {'learning_rate': 0.3, 'max_depth': 5, 'n_estimators': 100}

0.868620 (0.031606) with: {'learning_rate': 0.3, 'max_depth': 5, 'n_estimators': 150}

0.868620 (0.031606) with: {'learning_rate': 0.3, 'max_depth': 5, 'n_estimators': 200}

0.859642 (0.026923) with: {'learning_rate': 0.3, 'max_depth': 7, 'n_estimators': 50}

0.859655 (0.026917) with: {'learning_rate': 0.3, 'max_depth': 7, 'n_estimators': 100}

0.859655 (0.026917) with: {'learning_rate': 0.3, 'max_depth': 7, 'n_estimators': 150}

0.859655 (0.026917) with: {'learning_rate': 0.3, 'max_depth': 7, 'n_estimators': 200}

0.843922 (0.039863) with: {'learning_rate': 0.3, 'max_depth': 9, 'n_estimators': 50}

0.843921 (0.039864) with: {'learning_rate': 0.3, 'max_depth': 9, 'n_estimators': 100}

0.843921 (0.039864) with: {'learning_rate': 0.3, 'max_depth': 9, 'n_estimators': 150}

0.843921 (0.039864) with: {'learning_rate': 0.3, 'max_depth': 9, 'n_estimators': 200}

0.836648 (0.043075) with: {'learning_rate': 0.3, 'max_depth': 11, 'n_estimators': 50}

0.836648 (0.043075) with: {'learning_rate': 0.3, 'max_depth': 11, 'n_estimators': 100}

0.836648 (0.043075) with: {'learning_rate': 0.3, 'max_depth': 11, 'n_estimators': 150}

0.836648 (0.043075) with: {'learning_rate': 0.3, 'max_depth': 11, 'n_estimators': 200}

0.833262 (0.043352) with: {'learning_rate': 0.3, 'max_depth': 13, 'n_estimators': 50}

0.833262 (0.043352) with: {'learning_rate': 0.3, 'max_depth': 13, 'n_estimators': 100}

0.833262 (0.043352) with: {'learning_rate': 0.3, 'max_depth': 13, 'n_estimators': 150}

0.833262 (0.043352) with: {'learning_rate': 0.3, 'max_depth': 13, 'n_estimators': 200}

0.828890 (0.049491) with: {'learning_rate': 0.3, 'max_depth': 15, 'n_estimators': 50}

0.828890 (0.049491) with: {'learning_rate': 0.3, 'max_depth': 15, 'n_estimators': 100}

0.828890 (0.049491) with: {'learning_rate': 0.3, 'max_depth': 15, 'n_estimators': 150}

0.828890 (0.049491) with: {'learning_rate': 0.3, 'max_depth': 15, 'n_estimators': 200}


相关文章
|
12天前
|
算法 搜索推荐 开发者
别再让复杂度拖你后腿!Python 算法设计与分析实战,教你如何精准评估与优化!
在 Python 编程中,算法的性能至关重要。本文将带您深入了解算法复杂度的概念,包括时间复杂度和空间复杂度。通过具体的例子,如冒泡排序算法 (`O(n^2)` 时间复杂度,`O(1)` 空间复杂度),我们将展示如何评估算法的性能。同时,我们还会介绍如何优化算法,例如使用 Python 的内置函数 `max` 来提高查找最大值的效率,或利用哈希表将查找时间从 `O(n)` 降至 `O(1)`。此外,还将介绍使用 `timeit` 模块等工具来评估算法性能的方法。通过不断实践,您将能更高效地优化 Python 程序。
29 4
|
2月前
|
数据采集 机器学习/深度学习 算法
【python】python客户信息审计风险决策树算法分类预测(源码+数据集+论文)【独一无二】
【python】python客户信息审计风险决策树算法分类预测(源码+数据集+论文)【独一无二】
|
2月前
|
机器学习/深度学习 算法
【Deepin 20系统】机器学习分类算法模型xgboost、lightgbm、catboost安装及使用
介绍了在Deepin 20系统上使用pip命令通过清华大学镜像源安装xgboost、lightgbm和catboost三个机器学习分类算法库的过程。
32 4
|
3月前
|
算法 搜索推荐 开发者
别再让复杂度拖你后腿!Python 算法设计与分析实战,教你如何精准评估与优化!
【7月更文挑战第23天】在Python编程中,掌握算法复杂度—时间与空间消耗,是提升程序效能的关键。算法如冒泡排序($O(n^2)$时间/$O(1)$空间),或使用Python内置函数找最大值($O(n)$时间),需精确诊断与优化。数据结构如哈希表可将查找从$O(n)$降至$O(1)$。运用`timeit`模块评估性能,深入理解数据结构和算法,使Python代码更高效。持续实践与学习,精通复杂度管理。
54 9
|
2月前
|
机器学习/深度学习 算法 搜索推荐
支付宝商业化广告算法问题之在DNN模型中,特征的重要性如何评估
支付宝商业化广告算法问题之在DNN模型中,特征的重要性如何评估
|
3月前
|
机器学习/深度学习 数据采集 算法
Python实现贝叶斯岭回归模型(BayesianRidge算法)并使用K折交叉验证进行模型评估项目实战
Python实现贝叶斯岭回归模型(BayesianRidge算法)并使用K折交叉验证进行模型评估项目实战
|
4月前
|
机器学习/深度学习 数据采集 存储
算法金 | 决策树、随机森林、bagging、boosting、Adaboost、GBDT、XGBoost 算法大全
**摘要:** 这篇文章介绍了决策树作为一种机器学习算法,用于分类和回归问题,通过一系列特征测试将复杂决策过程简化。文章详细阐述了决策树的定义、构建方法、剪枝优化技术,以及优缺点。接着,文章讨论了集成学习,包括Bagging、Boosting和随机森林等方法,解释了它们的工作原理、优缺点以及如何通过结合多个模型提高性能和泛化能力。文中特别提到了随机森林和GBDT(XGBoost)作为集成方法的实例,强调了它们在处理复杂数据和防止过拟合方面的优势。最后,文章提供了选择集成学习算法的指南,考虑了数据特性、模型性能、计算资源和过拟合风险等因素。
55 0
算法金 | 决策树、随机森林、bagging、boosting、Adaboost、GBDT、XGBoost 算法大全
|
3月前
|
机器学习/深度学习 数据采集 算法
Python实现xgboost分类模型(XGBClassifier算法)项目实战
Python实现xgboost分类模型(XGBClassifier算法)项目实战
106 0
|
4月前
|
算法 物联网 调度
操作系统调度算法的演进与性能评估
本文深入探讨了操作系统中进程调度算法的发展轨迹,从早期的先来先服务(FCFS)到现代的多级队列和反馈控制理论。通过引用实验数据、模拟结果和理论分析,文章揭示了不同调度策略如何影响系统性能,特别是在响应时间、吞吐量和公平性方面。同时,本文也讨论了在云计算和物联网等新兴领域,调度算法面临的挑战和未来的发展方向。
|
4月前
|
存储 算法 Java
Java数据结构与算法:用于高效地存储和检索字符串数据集
Java数据结构与算法:用于高效地存储和检索字符串数据集
下一篇
无影云桌面