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

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

利用XGBoost算法对波士顿数据集回归预测


T1、ShuffleSplit+GSCV模型调参


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

XGBR_Shuffle_GSCV time: 256.7015066994206

XGBoost Score value: 0.8536645272887292

XGBoost R2    value: 0.8536645272887292

XGBoost MAE   value: 2.1987844654894246

XGBoost RMSE  value: 3.368537070469827


0.588111 (0.039989) with: {'learning_rate': 0.03, 'max_depth': 1, 'n_estimators': 50}

0.745248 (0.039715) with: {'learning_rate': 0.03, 'max_depth': 1, 'n_estimators': 100}

0.780673 (0.041418) with: {'learning_rate': 0.03, 'max_depth': 1, 'n_estimators': 150}

0.794564 (0.045098) with: {'learning_rate': 0.03, 'max_depth': 1, 'n_estimators': 200}

0.739650 (0.048542) with: {'learning_rate': 0.03, 'max_depth': 3, 'n_estimators': 50}

0.827152 (0.051752) with: {'learning_rate': 0.03, 'max_depth': 3, 'n_estimators': 100}

0.843543 (0.056119) with: {'learning_rate': 0.03, 'max_depth': 3, 'n_estimators': 150}

0.849557 (0.055848) with: {'learning_rate': 0.03, 'max_depth': 3, 'n_estimators': 200}

0.740037 (0.040934) with: {'learning_rate': 0.03, 'max_depth': 5, 'n_estimators': 50}

0.826966 (0.045216) with: {'learning_rate': 0.03, 'max_depth': 5, 'n_estimators': 100}

0.841845 (0.047665) with: {'learning_rate': 0.03, 'max_depth': 5, 'n_estimators': 150}

0.845978 (0.047794) with: {'learning_rate': 0.03, 'max_depth': 5, 'n_estimators': 200}

0.720503 (0.038676) with: {'learning_rate': 0.03, 'max_depth': 7, 'n_estimators': 50}

0.798275 (0.047791) with: {'learning_rate': 0.03, 'max_depth': 7, 'n_estimators': 100}

0.808659 (0.048699) with: {'learning_rate': 0.03, 'max_depth': 7, 'n_estimators': 150}

0.812894 (0.047902) with: {'learning_rate': 0.03, 'max_depth': 7, 'n_estimators': 200}

0.716254 (0.039716) with: {'learning_rate': 0.03, 'max_depth': 9, 'n_estimators': 50}

0.795603 (0.049370) with: {'learning_rate': 0.03, 'max_depth': 9, 'n_estimators': 100}

0.804215 (0.054399) with: {'learning_rate': 0.03, 'max_depth': 9, 'n_estimators': 150}

0.806022 (0.054965) with: {'learning_rate': 0.03, 'max_depth': 9, 'n_estimators': 200}

0.714920 (0.040201) with: {'learning_rate': 0.03, 'max_depth': 11, 'n_estimators': 50}

0.796940 (0.043692) with: {'learning_rate': 0.03, 'max_depth': 11, 'n_estimators': 100}

0.803563 (0.047487) with: {'learning_rate': 0.03, 'max_depth': 11, 'n_estimators': 150}

0.805639 (0.049146) with: {'learning_rate': 0.03, 'max_depth': 11, 'n_estimators': 200}

0.717114 (0.040552) with: {'learning_rate': 0.03, 'max_depth': 13, 'n_estimators': 50}

0.798669 (0.044140) with: {'learning_rate': 0.03, 'max_depth': 13, 'n_estimators': 100}

0.807001 (0.047485) with: {'learning_rate': 0.03, 'max_depth': 13, 'n_estimators': 150}

0.808231 (0.048622) with: {'learning_rate': 0.03, 'max_depth': 13, 'n_estimators': 200}

0.716787 (0.040747) with: {'learning_rate': 0.03, 'max_depth': 15, 'n_estimators': 50}

0.800528 (0.042525) with: {'learning_rate': 0.03, 'max_depth': 15, 'n_estimators': 100}

0.810075 (0.045364) with: {'learning_rate': 0.03, 'max_depth': 15, 'n_estimators': 150}

0.810928 (0.047001) with: {'learning_rate': 0.03, 'max_depth': 15, 'n_estimators': 200}

0.748057 (0.039107) with: {'learning_rate': 0.06, 'max_depth': 1, 'n_estimators': 50}

0.796450 (0.044658) with: {'learning_rate': 0.06, 'max_depth': 1, 'n_estimators': 100}

0.810749 (0.049107) with: {'learning_rate': 0.06, 'max_depth': 1, 'n_estimators': 150}

0.818271 (0.049566) with: {'learning_rate': 0.06, 'max_depth': 1, 'n_estimators': 200}

0.825470 (0.054236) with: {'learning_rate': 0.06, 'max_depth': 3, 'n_estimators': 50}

0.847820 (0.057729) with: {'learning_rate': 0.06, 'max_depth': 3, 'n_estimators': 100}

0.852501 (0.057970) with: {'learning_rate': 0.06, 'max_depth': 3, 'n_estimators': 150}

0.855974 (0.057133) with: {'learning_rate': 0.06, 'max_depth': 3, 'n_estimators': 200}

0.830130 (0.042166) with: {'learning_rate': 0.06, 'max_depth': 5, 'n_estimators': 50}

0.848818 (0.043202) with: {'learning_rate': 0.06, 'max_depth': 5, 'n_estimators': 100}

0.850634 (0.043955) with: {'learning_rate': 0.06, 'max_depth': 5, 'n_estimators': 150}

0.850776 (0.044242) with: {'learning_rate': 0.06, 'max_depth': 5, 'n_estimators': 200}

0.797091 (0.049104) with: {'learning_rate': 0.06, 'max_depth': 7, 'n_estimators': 50}

0.811453 (0.050410) with: {'learning_rate': 0.06, 'max_depth': 7, 'n_estimators': 100}

0.812925 (0.050391) with: {'learning_rate': 0.06, 'max_depth': 7, 'n_estimators': 150}

0.813141 (0.050317) with: {'learning_rate': 0.06, 'max_depth': 7, 'n_estimators': 200}

0.798523 (0.048830) with: {'learning_rate': 0.06, 'max_depth': 9, 'n_estimators': 50}

0.807724 (0.053522) with: {'learning_rate': 0.06, 'max_depth': 9, 'n_estimators': 100}

0.808858 (0.053694) with: {'learning_rate': 0.06, 'max_depth': 9, 'n_estimators': 150}

0.809064 (0.053787) with: {'learning_rate': 0.06, 'max_depth': 9, 'n_estimators': 200}

0.795488 (0.045973) with: {'learning_rate': 0.06, 'max_depth': 11, 'n_estimators': 50}

0.803783 (0.051639) with: {'learning_rate': 0.06, 'max_depth': 11, 'n_estimators': 100}

0.805366 (0.052070) with: {'learning_rate': 0.06, 'max_depth': 11, 'n_estimators': 150}

0.805499 (0.052113) with: {'learning_rate': 0.06, 'max_depth': 11, 'n_estimators': 200}

0.796173 (0.046698) with: {'learning_rate': 0.06, 'max_depth': 13, 'n_estimators': 50}

0.806388 (0.050425) with: {'learning_rate': 0.06, 'max_depth': 13, 'n_estimators': 100}

0.807511 (0.050917) with: {'learning_rate': 0.06, 'max_depth': 13, 'n_estimators': 150}

0.807696 (0.050925) with: {'learning_rate': 0.06, 'max_depth': 13, 'n_estimators': 200}

0.795853 (0.045518) with: {'learning_rate': 0.06, 'max_depth': 15, 'n_estimators': 50}

0.805835 (0.048817) with: {'learning_rate': 0.06, 'max_depth': 15, 'n_estimators': 100}

0.806752 (0.049863) with: {'learning_rate': 0.06, 'max_depth': 15, 'n_estimators': 150}

0.806967 (0.049886) with: {'learning_rate': 0.06, 'max_depth': 15, 'n_estimators': 200}

0.782405 (0.041673) with: {'learning_rate': 0.09, 'max_depth': 1, 'n_estimators': 50}

0.810724 (0.050393) with: {'learning_rate': 0.09, 'max_depth': 1, 'n_estimators': 100}

0.820115 (0.051026) with: {'learning_rate': 0.09, 'max_depth': 1, 'n_estimators': 150}

0.825857 (0.051649) with: {'learning_rate': 0.09, 'max_depth': 1, 'n_estimators': 200}

0.843458 (0.056602) with: {'learning_rate': 0.09, 'max_depth': 3, 'n_estimators': 50}

0.855060 (0.056710) with: {'learning_rate': 0.09, 'max_depth': 3, 'n_estimators': 100}

0.858793 (0.055724) with: {'learning_rate': 0.09, 'max_depth': 3, 'n_estimators': 150}

0.860149 (0.055734) with: {'learning_rate': 0.09, 'max_depth': 3, 'n_estimators': 200}

0.842437 (0.046911) with: {'learning_rate': 0.09, 'max_depth': 5, 'n_estimators': 50}

0.849599 (0.045852) with: {'learning_rate': 0.09, 'max_depth': 5, 'n_estimators': 100}

0.850152 (0.046078) with: {'learning_rate': 0.09, 'max_depth': 5, 'n_estimators': 150}

0.849891 (0.046197) with: {'learning_rate': 0.09, 'max_depth': 5, 'n_estimators': 200}

0.807907 (0.051134) with: {'learning_rate': 0.09, 'max_depth': 7, 'n_estimators': 50}

0.810696 (0.051038) with: {'learning_rate': 0.09, 'max_depth': 7, 'n_estimators': 100}

0.810941 (0.050779) with: {'learning_rate': 0.09, 'max_depth': 7, 'n_estimators': 150}

0.810979 (0.050839) with: {'learning_rate': 0.09, 'max_depth': 7, 'n_estimators': 200}

0.804573 (0.052898) with: {'learning_rate': 0.09, 'max_depth': 9, 'n_estimators': 50}

0.809204 (0.053292) with: {'learning_rate': 0.09, 'max_depth': 9, 'n_estimators': 100}

0.809325 (0.053303) with: {'learning_rate': 0.09, 'max_depth': 9, 'n_estimators': 150}

0.809351 (0.053284) with: {'learning_rate': 0.09, 'max_depth': 9, 'n_estimators': 200}

0.804379 (0.051647) with: {'learning_rate': 0.09, 'max_depth': 11, 'n_estimators': 50}

0.807157 (0.053047) with: {'learning_rate': 0.09, 'max_depth': 11, 'n_estimators': 100}

0.807332 (0.053061) with: {'learning_rate': 0.09, 'max_depth': 11, 'n_estimators': 150}

0.807335 (0.053062) with: {'learning_rate': 0.09, 'max_depth': 11, 'n_estimators': 200}

0.809283 (0.050355) with: {'learning_rate': 0.09, 'max_depth': 13, 'n_estimators': 50}

0.812004 (0.052245) with: {'learning_rate': 0.09, 'max_depth': 13, 'n_estimators': 100}

0.812156 (0.052289) with: {'learning_rate': 0.09, 'max_depth': 13, 'n_estimators': 150}

0.812158 (0.052290) with: {'learning_rate': 0.09, 'max_depth': 13, 'n_estimators': 200}

0.808697 (0.047241) with: {'learning_rate': 0.09, 'max_depth': 15, 'n_estimators': 50}

0.811460 (0.049551) with: {'learning_rate': 0.09, 'max_depth': 15, 'n_estimators': 100}

0.811645 (0.049603) with: {'learning_rate': 0.09, 'max_depth': 15, 'n_estimators': 150}

0.811647 (0.049603) with: {'learning_rate': 0.09, 'max_depth': 15, 'n_estimators': 200}

0.797008 (0.044026) with: {'learning_rate': 0.12, 'max_depth': 1, 'n_estimators': 50}

0.819497 (0.048774) with: {'learning_rate': 0.12, 'max_depth': 1, 'n_estimators': 100}

0.828557 (0.049254) with: {'learning_rate': 0.12, 'max_depth': 1, 'n_estimators': 150}

0.831446 (0.048579) with: {'learning_rate': 0.12, 'max_depth': 1, 'n_estimators': 200}

0.850108 (0.054443) with: {'learning_rate': 0.12, 'max_depth': 3, 'n_estimators': 50}

0.860703 (0.051990) with: {'learning_rate': 0.12, 'max_depth': 3, 'n_estimators': 100}

0.862097 (0.050875) with: {'learning_rate': 0.12, 'max_depth': 3, 'n_estimators': 150}

0.862991 (0.050771) with: {'learning_rate': 0.12, 'max_depth': 3, 'n_estimators': 200}

0.845629 (0.050619) with: {'learning_rate': 0.12, 'max_depth': 5, 'n_estimators': 50}

0.846694 (0.051708) with: {'learning_rate': 0.12, 'max_depth': 5, 'n_estimators': 100}

0.846881 (0.051518) with: {'learning_rate': 0.12, 'max_depth': 5, 'n_estimators': 150}

0.847447 (0.051179) with: {'learning_rate': 0.12, 'max_depth': 5, 'n_estimators': 200}

0.818390 (0.048416) with: {'learning_rate': 0.12, 'max_depth': 7, 'n_estimators': 50}

0.820131 (0.048414) with: {'learning_rate': 0.12, 'max_depth': 7, 'n_estimators': 100}

0.820054 (0.048396) with: {'learning_rate': 0.12, 'max_depth': 7, 'n_estimators': 150}

0.820016 (0.048421) with: {'learning_rate': 0.12, 'max_depth': 7, 'n_estimators': 200}

0.804340 (0.057268) with: {'learning_rate': 0.12, 'max_depth': 9, 'n_estimators': 50}

0.806046 (0.057127) with: {'learning_rate': 0.12, 'max_depth': 9, 'n_estimators': 100}

0.806095 (0.057104) with: {'learning_rate': 0.12, 'max_depth': 9, 'n_estimators': 150}

0.806095 (0.057104) with: {'learning_rate': 0.12, 'max_depth': 9, 'n_estimators': 200}

0.810022 (0.052949) with: {'learning_rate': 0.12, 'max_depth': 11, 'n_estimators': 50}

0.810958 (0.053529) with: {'learning_rate': 0.12, 'max_depth': 11, 'n_estimators': 100}

0.810963 (0.053537) with: {'learning_rate': 0.12, 'max_depth': 11, 'n_estimators': 150}

0.810963 (0.053537) with: {'learning_rate': 0.12, 'max_depth': 11, 'n_estimators': 200}

0.807990 (0.050201) with: {'learning_rate': 0.12, 'max_depth': 13, 'n_estimators': 50}

0.809496 (0.050527) with: {'learning_rate': 0.12, 'max_depth': 13, 'n_estimators': 100}

0.809512 (0.050529) with: {'learning_rate': 0.12, 'max_depth': 13, 'n_estimators': 150}

0.809512 (0.050529) with: {'learning_rate': 0.12, 'max_depth': 13, 'n_estimators': 200}

0.810050 (0.051373) with: {'learning_rate': 0.12, 'max_depth': 15, 'n_estimators': 50}

0.811131 (0.052055) with: {'learning_rate': 0.12, 'max_depth': 15, 'n_estimators': 100}

0.811146 (0.052061) with: {'learning_rate': 0.12, 'max_depth': 15, 'n_estimators': 150}

0.811146 (0.052061) with: {'learning_rate': 0.12, 'max_depth': 15, 'n_estimators': 200}

0.807162 (0.048547) with: {'learning_rate': 0.15, 'max_depth': 1, 'n_estimators': 50}

0.824273 (0.050445) with: {'learning_rate': 0.15, 'max_depth': 1, 'n_estimators': 100}

0.830500 (0.050552) with: {'learning_rate': 0.15, 'max_depth': 1, 'n_estimators': 150}

0.830391 (0.051783) with: {'learning_rate': 0.15, 'max_depth': 1, 'n_estimators': 200}

0.852195 (0.056525) with: {'learning_rate': 0.15, 'max_depth': 3, 'n_estimators': 50}

0.858841 (0.055583) with: {'learning_rate': 0.15, 'max_depth': 3, 'n_estimators': 100}

0.860678 (0.055755) with: {'learning_rate': 0.15, 'max_depth': 3, 'n_estimators': 150}

0.860202 (0.056060) with: {'learning_rate': 0.15, 'max_depth': 3, 'n_estimators': 200}

0.851480 (0.042938) with: {'learning_rate': 0.15, 'max_depth': 5, 'n_estimators': 50}

0.852485 (0.043547) with: {'learning_rate': 0.15, 'max_depth': 5, 'n_estimators': 100}

0.852983 (0.043729) with: {'learning_rate': 0.15, 'max_depth': 5, 'n_estimators': 150}

0.853004 (0.043800) with: {'learning_rate': 0.15, 'max_depth': 5, 'n_estimators': 200}

0.811017 (0.051230) with: {'learning_rate': 0.15, 'max_depth': 7, 'n_estimators': 50}

0.811935 (0.051563) with: {'learning_rate': 0.15, 'max_depth': 7, 'n_estimators': 100}

0.812016 (0.051550) with: {'learning_rate': 0.15, 'max_depth': 7, 'n_estimators': 150}

0.812016 (0.051550) with: {'learning_rate': 0.15, 'max_depth': 7, 'n_estimators': 200}

0.807335 (0.054503) with: {'learning_rate': 0.15, 'max_depth': 9, 'n_estimators': 50}

0.807742 (0.054438) with: {'learning_rate': 0.15, 'max_depth': 9, 'n_estimators': 100}

0.807742 (0.054438) with: {'learning_rate': 0.15, 'max_depth': 9, 'n_estimators': 150}

0.807742 (0.054438) with: {'learning_rate': 0.15, 'max_depth': 9, 'n_estimators': 200}

0.810597 (0.052285) with: {'learning_rate': 0.15, 'max_depth': 11, 'n_estimators': 50}

0.810936 (0.052312) with: {'learning_rate': 0.15, 'max_depth': 11, 'n_estimators': 100}

0.810936 (0.052312) with: {'learning_rate': 0.15, 'max_depth': 11, 'n_estimators': 150}

0.810936 (0.052312) with: {'learning_rate': 0.15, 'max_depth': 11, 'n_estimators': 200}

0.814041 (0.049302) with: {'learning_rate': 0.15, 'max_depth': 13, 'n_estimators': 50}

0.814413 (0.049371) with: {'learning_rate': 0.15, 'max_depth': 13, 'n_estimators': 100}

0.814413 (0.049371) with: {'learning_rate': 0.15, 'max_depth': 13, 'n_estimators': 150}

0.814413 (0.049371) with: {'learning_rate': 0.15, 'max_depth': 13, 'n_estimators': 200}

0.807168 (0.053947) with: {'learning_rate': 0.15, 'max_depth': 15, 'n_estimators': 50}

0.807499 (0.054091) with: {'learning_rate': 0.15, 'max_depth': 15, 'n_estimators': 100}

0.807499 (0.054091) with: {'learning_rate': 0.15, 'max_depth': 15, 'n_estimators': 150}

0.807499 (0.054091) with: {'learning_rate': 0.15, 'max_depth': 15, 'n_estimators': 200}

0.810923 (0.050566) with: {'learning_rate': 0.18, 'max_depth': 1, 'n_estimators': 50}

0.826561 (0.050272) with: {'learning_rate': 0.18, 'max_depth': 1, 'n_estimators': 100}

0.830294 (0.049726) with: {'learning_rate': 0.18, 'max_depth': 1, 'n_estimators': 150}

0.830412 (0.050068) with: {'learning_rate': 0.18, 'max_depth': 1, 'n_estimators': 200}

0.847566 (0.059016) with: {'learning_rate': 0.18, 'max_depth': 3, 'n_estimators': 50}

0.854473 (0.056008) with: {'learning_rate': 0.18, 'max_depth': 3, 'n_estimators': 100}

0.855668 (0.056143) with: {'learning_rate': 0.18, 'max_depth': 3, 'n_estimators': 150}

0.855706 (0.055851) with: {'learning_rate': 0.18, 'max_depth': 3, 'n_estimators': 200}

0.841307 (0.052664) with: {'learning_rate': 0.18, 'max_depth': 5, 'n_estimators': 50}

0.841590 (0.053217) with: {'learning_rate': 0.18, 'max_depth': 5, 'n_estimators': 100}

0.841445 (0.053423) with: {'learning_rate': 0.18, 'max_depth': 5, 'n_estimators': 150}

0.841435 (0.053478) with: {'learning_rate': 0.18, 'max_depth': 5, 'n_estimators': 200}

0.807878 (0.052757) with: {'learning_rate': 0.18, 'max_depth': 7, 'n_estimators': 50}

0.808334 (0.052373) with: {'learning_rate': 0.18, 'max_depth': 7, 'n_estimators': 100}

0.808363 (0.052378) with: {'learning_rate': 0.18, 'max_depth': 7, 'n_estimators': 150}

0.808363 (0.052378) with: {'learning_rate': 0.18, 'max_depth': 7, 'n_estimators': 200}

0.804948 (0.054592) with: {'learning_rate': 0.18, 'max_depth': 9, 'n_estimators': 50}

0.805130 (0.054519) with: {'learning_rate': 0.18, 'max_depth': 9, 'n_estimators': 100}

0.805130 (0.054519) with: {'learning_rate': 0.18, 'max_depth': 9, 'n_estimators': 150}

0.805130 (0.054519) with: {'learning_rate': 0.18, 'max_depth': 9, 'n_estimators': 200}

0.803086 (0.052977) with: {'learning_rate': 0.18, 'max_depth': 11, 'n_estimators': 50}

0.803229 (0.052990) with: {'learning_rate': 0.18, 'max_depth': 11, 'n_estimators': 100}

0.803229 (0.052990) with: {'learning_rate': 0.18, 'max_depth': 11, 'n_estimators': 150}

0.803229 (0.052990) with: {'learning_rate': 0.18, 'max_depth': 11, 'n_estimators': 200}

0.806149 (0.054086) with: {'learning_rate': 0.18, 'max_depth': 13, 'n_estimators': 50}

0.806294 (0.054156) with: {'learning_rate': 0.18, 'max_depth': 13, 'n_estimators': 100}

0.806294 (0.054156) with: {'learning_rate': 0.18, 'max_depth': 13, 'n_estimators': 150}

0.806294 (0.054156) with: {'learning_rate': 0.18, 'max_depth': 13, 'n_estimators': 200}

0.805339 (0.054438) with: {'learning_rate': 0.18, 'max_depth': 15, 'n_estimators': 50}

0.805497 (0.054478) with: {'learning_rate': 0.18, 'max_depth': 15, 'n_estimators': 100}

0.805497 (0.054478) with: {'learning_rate': 0.18, 'max_depth': 15, 'n_estimators': 150}

0.805497 (0.054478) with: {'learning_rate': 0.18, 'max_depth': 15, 'n_estimators': 200}

0.818772 (0.048965) with: {'learning_rate': 0.21, 'max_depth': 1, 'n_estimators': 50}

0.830305 (0.048710) with: {'learning_rate': 0.21, 'max_depth': 1, 'n_estimators': 100}

0.832875 (0.048551) with: {'learning_rate': 0.21, 'max_depth': 1, 'n_estimators': 150}

0.833115 (0.049489) with: {'learning_rate': 0.21, 'max_depth': 1, 'n_estimators': 200}

0.852619 (0.055268) with: {'learning_rate': 0.21, 'max_depth': 3, 'n_estimators': 50}

0.854279 (0.055507) with: {'learning_rate': 0.21, 'max_depth': 3, 'n_estimators': 100}

0.855926 (0.055786) with: {'learning_rate': 0.21, 'max_depth': 3, 'n_estimators': 150}

0.857225 (0.055403) with: {'learning_rate': 0.21, 'max_depth': 3, 'n_estimators': 200}

0.844948 (0.048417) with: {'learning_rate': 0.21, 'max_depth': 5, 'n_estimators': 50}

0.844659 (0.048358) with: {'learning_rate': 0.21, 'max_depth': 5, 'n_estimators': 100}

0.844761 (0.048342) with: {'learning_rate': 0.21, 'max_depth': 5, 'n_estimators': 150}

0.844807 (0.048326) with: {'learning_rate': 0.21, 'max_depth': 5, 'n_estimators': 200}

0.816587 (0.052132) with: {'learning_rate': 0.21, 'max_depth': 7, 'n_estimators': 50}

0.816323 (0.052509) with: {'learning_rate': 0.21, 'max_depth': 7, 'n_estimators': 100}

0.816322 (0.052509) with: {'learning_rate': 0.21, 'max_depth': 7, 'n_estimators': 150}

0.816322 (0.052509) with: {'learning_rate': 0.21, 'max_depth': 7, 'n_estimators': 200}

0.807687 (0.050865) with: {'learning_rate': 0.21, 'max_depth': 9, 'n_estimators': 50}

0.807783 (0.050856) with: {'learning_rate': 0.21, 'max_depth': 9, 'n_estimators': 100}

0.807783 (0.050856) with: {'learning_rate': 0.21, 'max_depth': 9, 'n_estimators': 150}

0.807783 (0.050856) with: {'learning_rate': 0.21, 'max_depth': 9, 'n_estimators': 200}

0.807752 (0.054800) with: {'learning_rate': 0.21, 'max_depth': 11, 'n_estimators': 50}

0.807782 (0.054819) with: {'learning_rate': 0.21, 'max_depth': 11, 'n_estimators': 100}

0.807782 (0.054819) with: {'learning_rate': 0.21, 'max_depth': 11, 'n_estimators': 150}

0.807782 (0.054819) with: {'learning_rate': 0.21, 'max_depth': 11, 'n_estimators': 200}

0.806377 (0.052411) with: {'learning_rate': 0.21, 'max_depth': 13, 'n_estimators': 50}

0.806415 (0.052447) with: {'learning_rate': 0.21, 'max_depth': 13, 'n_estimators': 100}

0.806415 (0.052447) with: {'learning_rate': 0.21, 'max_depth': 13, 'n_estimators': 150}

0.806415 (0.052447) with: {'learning_rate': 0.21, 'max_depth': 13, 'n_estimators': 200}

0.807638 (0.052222) with: {'learning_rate': 0.21, 'max_depth': 15, 'n_estimators': 50}

0.807671 (0.052247) with: {'learning_rate': 0.21, 'max_depth': 15, 'n_estimators': 100}

0.807671 (0.052247) with: {'learning_rate': 0.21, 'max_depth': 15, 'n_estimators': 150}

0.807671 (0.052247) with: {'learning_rate': 0.21, 'max_depth': 15, 'n_estimators': 200}

0.819971 (0.046487) with: {'learning_rate': 0.24, 'max_depth': 1, 'n_estimators': 50}

0.830501 (0.048655) with: {'learning_rate': 0.24, 'max_depth': 1, 'n_estimators': 100}

0.832064 (0.049740) with: {'learning_rate': 0.24, 'max_depth': 1, 'n_estimators': 150}

0.831840 (0.050128) with: {'learning_rate': 0.24, 'max_depth': 1, 'n_estimators': 200}

0.857136 (0.046683) with: {'learning_rate': 0.24, 'max_depth': 3, 'n_estimators': 50}

0.859483 (0.045770) with: {'learning_rate': 0.24, 'max_depth': 3, 'n_estimators': 100}

0.859945 (0.045322) with: {'learning_rate': 0.24, 'max_depth': 3, 'n_estimators': 150}

0.859801 (0.045460) with: {'learning_rate': 0.24, 'max_depth': 3, 'n_estimators': 200}

0.850955 (0.049845) with: {'learning_rate': 0.24, 'max_depth': 5, 'n_estimators': 50}

0.850508 (0.050615) with: {'learning_rate': 0.24, 'max_depth': 5, 'n_estimators': 100}

0.850476 (0.050598) with: {'learning_rate': 0.24, 'max_depth': 5, 'n_estimators': 150}

0.850498 (0.050571) with: {'learning_rate': 0.24, 'max_depth': 5, 'n_estimators': 200}

0.811733 (0.057462) with: {'learning_rate': 0.24, 'max_depth': 7, 'n_estimators': 50}

0.811878 (0.057440) with: {'learning_rate': 0.24, 'max_depth': 7, 'n_estimators': 100}

0.811878 (0.057440) with: {'learning_rate': 0.24, 'max_depth': 7, 'n_estimators': 150}

0.811878 (0.057440) with: {'learning_rate': 0.24, 'max_depth': 7, 'n_estimators': 200}

0.807850 (0.060428) with: {'learning_rate': 0.24, 'max_depth': 9, 'n_estimators': 50}

0.807894 (0.060424) with: {'learning_rate': 0.24, 'max_depth': 9, 'n_estimators': 100}

0.807894 (0.060424) with: {'learning_rate': 0.24, 'max_depth': 9, 'n_estimators': 150}

0.807894 (0.060424) with: {'learning_rate': 0.24, 'max_depth': 9, 'n_estimators': 200}

0.802244 (0.059772) with: {'learning_rate': 0.24, 'max_depth': 11, 'n_estimators': 50}

0.802246 (0.059770) with: {'learning_rate': 0.24, 'max_depth': 11, 'n_estimators': 100}

0.802246 (0.059770) with: {'learning_rate': 0.24, 'max_depth': 11, 'n_estimators': 150}

0.802246 (0.059770) with: {'learning_rate': 0.24, 'max_depth': 11, 'n_estimators': 200}

0.807033 (0.061863) with: {'learning_rate': 0.24, 'max_depth': 13, 'n_estimators': 50}

0.807040 (0.061864) with: {'learning_rate': 0.24, 'max_depth': 13, 'n_estimators': 100}

0.807040 (0.061864) with: {'learning_rate': 0.24, 'max_depth': 13, 'n_estimators': 150}

0.807040 (0.061864) with: {'learning_rate': 0.24, 'max_depth': 13, 'n_estimators': 200}

0.804463 (0.063512) with: {'learning_rate': 0.24, 'max_depth': 15, 'n_estimators': 50}

0.804475 (0.063511) with: {'learning_rate': 0.24, 'max_depth': 15, 'n_estimators': 100}

0.804475 (0.063511) with: {'learning_rate': 0.24, 'max_depth': 15, 'n_estimators': 150}

0.804475 (0.063511) with: {'learning_rate': 0.24, 'max_depth': 15, 'n_estimators': 200}

0.821150 (0.049890) with: {'learning_rate': 0.27, 'max_depth': 1, 'n_estimators': 50}

0.830742 (0.049213) with: {'learning_rate': 0.27, 'max_depth': 1, 'n_estimators': 100}

0.831787 (0.050679) with: {'learning_rate': 0.27, 'max_depth': 1, 'n_estimators': 150}

0.830709 (0.051395) with: {'learning_rate': 0.27, 'max_depth': 1, 'n_estimators': 200}

0.857873 (0.052985) with: {'learning_rate': 0.27, 'max_depth': 3, 'n_estimators': 50}

0.861046 (0.050332) with: {'learning_rate': 0.27, 'max_depth': 3, 'n_estimators': 100}

0.861720 (0.049712) with: {'learning_rate': 0.27, 'max_depth': 3, 'n_estimators': 150}

0.861372 (0.049998) with: {'learning_rate': 0.27, 'max_depth': 3, 'n_estimators': 200}

0.847206 (0.051159) with: {'learning_rate': 0.27, 'max_depth': 5, 'n_estimators': 50}

0.847094 (0.051525) with: {'learning_rate': 0.27, 'max_depth': 5, 'n_estimators': 100}

0.847037 (0.051513) with: {'learning_rate': 0.27, 'max_depth': 5, 'n_estimators': 150}

0.847035 (0.051514) with: {'learning_rate': 0.27, 'max_depth': 5, 'n_estimators': 200}

0.803202 (0.050403) with: {'learning_rate': 0.27, 'max_depth': 7, 'n_estimators': 50}

0.803226 (0.050360) with: {'learning_rate': 0.27, 'max_depth': 7, 'n_estimators': 100}

0.803226 (0.050360) with: {'learning_rate': 0.27, 'max_depth': 7, 'n_estimators': 150}

0.803226 (0.050360) with: {'learning_rate': 0.27, 'max_depth': 7, 'n_estimators': 200}

0.806931 (0.056619) with: {'learning_rate': 0.27, 'max_depth': 9, 'n_estimators': 50}

0.806930 (0.056616) with: {'learning_rate': 0.27, 'max_depth': 9, 'n_estimators': 100}

0.806930 (0.056616) with: {'learning_rate': 0.27, 'max_depth': 9, 'n_estimators': 150}

0.806930 (0.056616) with: {'learning_rate': 0.27, 'max_depth': 9, 'n_estimators': 200}

0.802898 (0.060888) with: {'learning_rate': 0.27, 'max_depth': 11, 'n_estimators': 50}

0.802900 (0.060887) with: {'learning_rate': 0.27, 'max_depth': 11, 'n_estimators': 100}

0.802900 (0.060887) with: {'learning_rate': 0.27, 'max_depth': 11, 'n_estimators': 150}

0.802900 (0.060887) with: {'learning_rate': 0.27, 'max_depth': 11, 'n_estimators': 200}

0.799887 (0.055534) with: {'learning_rate': 0.27, 'max_depth': 13, 'n_estimators': 50}

0.799886 (0.055534) with: {'learning_rate': 0.27, 'max_depth': 13, 'n_estimators': 100}

0.799886 (0.055534) with: {'learning_rate': 0.27, 'max_depth': 13, 'n_estimators': 150}

0.799886 (0.055534) with: {'learning_rate': 0.27, 'max_depth': 13, 'n_estimators': 200}

0.800050 (0.056070) with: {'learning_rate': 0.27, 'max_depth': 15, 'n_estimators': 50}

0.800051 (0.056071) with: {'learning_rate': 0.27, 'max_depth': 15, 'n_estimators': 100}

0.800051 (0.056071) with: {'learning_rate': 0.27, 'max_depth': 15, 'n_estimators': 150}

0.800051 (0.056071) with: {'learning_rate': 0.27, 'max_depth': 15, 'n_estimators': 200}

0.819760 (0.053159) with: {'learning_rate': 0.3, 'max_depth': 1, 'n_estimators': 50}

0.827881 (0.052422) with: {'learning_rate': 0.3, 'max_depth': 1, 'n_estimators': 100}

0.828890 (0.053188) with: {'learning_rate': 0.3, 'max_depth': 1, 'n_estimators': 150}

0.829313 (0.052821) with: {'learning_rate': 0.3, 'max_depth': 1, 'n_estimators': 200}

0.854570 (0.052578) with: {'learning_rate': 0.3, 'max_depth': 3, 'n_estimators': 50}

0.857880 (0.050891) with: {'learning_rate': 0.3, 'max_depth': 3, 'n_estimators': 100}

0.858274 (0.051601) with: {'learning_rate': 0.3, 'max_depth': 3, 'n_estimators': 150}

0.858004 (0.051720) with: {'learning_rate': 0.3, 'max_depth': 3, 'n_estimators': 200}

0.837382 (0.048349) with: {'learning_rate': 0.3, 'max_depth': 5, 'n_estimators': 50}

0.837511 (0.048140) with: {'learning_rate': 0.3, 'max_depth': 5, 'n_estimators': 100}

0.837538 (0.048128) with: {'learning_rate': 0.3, 'max_depth': 5, 'n_estimators': 150}

0.837538 (0.048128) with: {'learning_rate': 0.3, 'max_depth': 5, 'n_estimators': 200}

0.814336 (0.051179) with: {'learning_rate': 0.3, 'max_depth': 7, 'n_estimators': 50}

0.814383 (0.051205) with: {'learning_rate': 0.3, 'max_depth': 7, 'n_estimators': 100}

0.814383 (0.051205) with: {'learning_rate': 0.3, 'max_depth': 7, 'n_estimators': 150}

0.814383 (0.051205) with: {'learning_rate': 0.3, 'max_depth': 7, 'n_estimators': 200}

0.806069 (0.051545) with: {'learning_rate': 0.3, 'max_depth': 9, 'n_estimators': 50}

0.806069 (0.051545) with: {'learning_rate': 0.3, 'max_depth': 9, 'n_estimators': 100}

0.806069 (0.051545) with: {'learning_rate': 0.3, 'max_depth': 9, 'n_estimators': 150}

0.806069 (0.051545) with: {'learning_rate': 0.3, 'max_depth': 9, 'n_estimators': 200}

0.810698 (0.049687) with: {'learning_rate': 0.3, 'max_depth': 11, 'n_estimators': 50}

0.810698 (0.049687) with: {'learning_rate': 0.3, 'max_depth': 11, 'n_estimators': 100}

0.810698 (0.049687) with: {'learning_rate': 0.3, 'max_depth': 11, 'n_estimators': 150}

0.810698 (0.049687) with: {'learning_rate': 0.3, 'max_depth': 11, 'n_estimators': 200}

0.807420 (0.051992) with: {'learning_rate': 0.3, 'max_depth': 13, 'n_estimators': 50}

0.807420 (0.051992) with: {'learning_rate': 0.3, 'max_depth': 13, 'n_estimators': 100}

0.807420 (0.051992) with: {'learning_rate': 0.3, 'max_depth': 13, 'n_estimators': 150}

0.807420 (0.051992) with: {'learning_rate': 0.3, 'max_depth': 13, 'n_estimators': 200}

0.803384 (0.054540) with: {'learning_rate': 0.3, 'max_depth': 15, 'n_estimators': 50}

0.803384 (0.054540) with: {'learning_rate': 0.3, 'max_depth': 15, 'n_estimators': 100}

0.803384 (0.054540) with: {'learning_rate': 0.3, 'max_depth': 15, 'n_estimators': 150}

0.803384 (0.054540) with: {'learning_rate': 0.3, 'max_depth': 15, 'n_estimators': 200}


相关文章
|
14天前
|
机器学习/深度学习 人工智能 算法
鸟类识别系统Python+卷积神经网络算法+深度学习+人工智能+TensorFlow+ResNet50算法模型+图像识别
鸟类识别系统。本系统采用Python作为主要开发语言,通过使用加利福利亚大学开源的200种鸟类图像作为数据集。使用TensorFlow搭建ResNet50卷积神经网络算法模型,然后进行模型的迭代训练,得到一个识别精度较高的模型,然后在保存为本地的H5格式文件。在使用Django开发Web网页端操作界面,实现用户上传一张鸟类图像,识别其名称。
60 12
鸟类识别系统Python+卷积神经网络算法+深度学习+人工智能+TensorFlow+ResNet50算法模型+图像识别
|
12天前
|
算法 搜索推荐 开发者
别再让复杂度拖你后腿!Python 算法设计与分析实战,教你如何精准评估与优化!
在 Python 编程中,算法的性能至关重要。本文将带您深入了解算法复杂度的概念,包括时间复杂度和空间复杂度。通过具体的例子,如冒泡排序算法 (`O(n^2)` 时间复杂度,`O(1)` 空间复杂度),我们将展示如何评估算法的性能。同时,我们还会介绍如何优化算法,例如使用 Python 的内置函数 `max` 来提高查找最大值的效率,或利用哈希表将查找时间从 `O(n)` 降至 `O(1)`。此外,还将介绍使用 `timeit` 模块等工具来评估算法性能的方法。通过不断实践,您将能更高效地优化 Python 程序。
29 4
|
1月前
|
存储 自然语言处理 算法
【算法精讲系列】MGTE系列模型,RAG实施中的重要模型
检索增强生成(RAG)结合检索与生成技术,利用外部知识库提升大模型的回答准确性与丰富性。RAG的关键组件包括文本表示模型和排序模型,前者计算文本向量表示,后者进行精细排序。阿里巴巴通义实验室推出的GTE-Multilingual系列模型,具备高性能、长文档支持、多语言处理及弹性向量表示等特性,显著提升了RAG系统的检索与排序效果。该系列模型已在多个数据集上展示出优越性能,并支持多语言和长文本处理,适用于各种复杂应用场景。
|
1月前
|
自然语言处理 监控 算法
【算法精讲系列】通义模型Prompt调优的实用技巧与经验分享
本文详细阐述了Prompt的设计要素,包括引导语、上下文信息等,还介绍了多种Prompt编写策略,如复杂规则拆分、关键信息冗余、使用分隔符等,旨在提高模型输出的质量和准确性。通过不断尝试、调整和优化,可逐步实现更优的Prompt设计。
|
1月前
|
算法
基于SIR模型的疫情发展趋势预测算法matlab仿真
该程序基于SIR模型预测疫情发展趋势,通过MATLAB 2022a版实现病例增长拟合分析,比较疫情防控力度。使用SIR微分方程模型拟合疫情发展过程,优化参数并求解微分方程组以预测易感者(S)、感染者(I)和移除者(R)的数量变化。![]该模型将总人群分为S、I、R三部分,通过解析或数值求解微分方程组预测疫情趋势。
|
2天前
|
传感器 算法 C语言
基于无线传感器网络的节点分簇算法matlab仿真
该程序对传感器网络进行分簇,考虑节点能量状态、拓扑位置及孤立节点等因素。相较于LEACH算法,本程序评估网络持续时间、节点死亡趋势及能量消耗。使用MATLAB 2022a版本运行,展示了节点能量管理优化及网络生命周期延长的效果。通过簇头管理和数据融合,实现了能量高效和网络可扩展性。
|
29天前
|
算法 BI Serverless
基于鱼群算法的散热片形状优化matlab仿真
本研究利用浴盆曲线模拟空隙外形,并通过鱼群算法(FSA)优化浴盆曲线参数,以获得最佳孔隙度值及对应的R值。FSA通过模拟鱼群的聚群、避障和觅食行为,实现高效全局搜索。具体步骤包括初始化鱼群、计算适应度值、更新位置及判断终止条件。最终确定散热片的最佳形状参数。仿真结果显示该方法能显著提高优化效率。相关代码使用MATLAB 2022a实现。
|
29天前
|
算法 数据可视化
基于SSA奇异谱分析算法的时间序列趋势线提取matlab仿真
奇异谱分析(SSA)是一种基于奇异值分解(SVD)和轨迹矩阵的非线性、非参数时间序列分析方法,适用于提取趋势、周期性和噪声成分。本项目使用MATLAB 2022a版本实现从强干扰序列中提取趋势线,并通过可视化展示了原时间序列与提取的趋势分量。代码实现了滑动窗口下的奇异值分解和分组重构,适用于非线性和非平稳时间序列分析。此方法在气候变化、金融市场和生物医学信号处理等领域有广泛应用。
|
1月前
|
资源调度 算法
基于迭代扩展卡尔曼滤波算法的倒立摆控制系统matlab仿真
本课题研究基于迭代扩展卡尔曼滤波算法的倒立摆控制系统,并对比UKF、EKF、迭代UKF和迭代EKF的控制效果。倒立摆作为典型的非线性系统,适用于评估不同滤波方法的性能。UKF采用无迹变换逼近非线性函数,避免了EKF中的截断误差;EKF则通过泰勒级数展开近似非线性函数;迭代EKF和迭代UKF通过多次迭代提高状态估计精度。系统使用MATLAB 2022a进行仿真和分析,结果显示UKF和迭代UKF在非线性强的系统中表现更佳,但计算复杂度较高;EKF和迭代EKF则更适合维数较高或计算受限的场景。
|
1月前
|
算法 数据可视化 数据安全/隐私保护
基于LK光流提取算法的图像序列晃动程度计算matlab仿真
该算法基于Lucas-Kanade光流方法,用于计算图像序列的晃动程度。通过计算相邻帧间的光流场并定义晃动程度指标(如RMS),可量化图像晃动。此版本适用于Matlab 2022a,提供详细中文注释与操作视频。完整代码无水印。
下一篇
无影云桌面