ai-se / Caret

compare Caret with DE
0 stars 1 forks source link

DE vs GridSearch #12

Open WeiFoo opened 8 years ago

WeiFoo commented 8 years ago

Settings

Training data should be the same for both techniques, since GridSearch using cross evaluaiton with strafitied sampling, then we need to modify our DE traning data sets as well.

Totally we have 17 experiments, the red numbers show the total number of highest scores occured between DE and GridSearch.

dfffc283-ecd7-4ee9-b529-b0c015841816

Running time:

Generally, DE is much faster than GridSearch, 5 times faster given current grid selection policy DE usually run 60~100 evaluations, but GridSearch runs 2x3^4=162 evaluations for CART, 2x3^5 = 488 for RF(2 is because of 2-fold cross evaluation).

More details

Tuning goal: auc, GridSearch: randomly pick Tuning goal: auc, GridSearch: uniformly pick Tuning goal: precision, GridSearch: randomly pick Tuning goal: precision, GridSearch: uniformly pick Tuning goal: f1, GridSearch: randomly pick Tuning goal: f1, GridSearch: uniformly pick

Conclusion