File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change 7474 }
7575)
7676
77+ # Here, we list all the strategies we want to test.
7778STRATEGIES = {
7879 "lac" : (
7980 Params (
353354 agg_scores = "mean"
354355 )
355356 ),
357+ "raps_randomized_split" : (
358+ Params (
359+ method = "raps" ,
360+ cv = "split" ,
361+ test_size = 0.5 ,
362+ random_state = random_state
363+ ),
364+ ParamsPredict (
365+ include_last_label = "randomized" ,
366+ agg_scores = "mean"
367+ )
368+ ),
356369}
357370
371+ # Here, we list all the strategies we want to test only for binary classification.
358372STRATEGIES_BINARY = {
359373 "lac" : (
360374 Params (
406420 ),
407421}
408422
423+ # Here, we only list the strategies we want to test on a small data set,
424+ # for multi-class classification.
409425COVERAGES = {
410426 "lac" : 6 / 9 ,
411427 "lac_split" : 8 / 9 ,
429445 "top_k_split" : 1.0 ,
430446}
431447
448+ # Here, we only list the strategies we want to test on a small data set,
449+ # for binary classification.
432450COVERAGES_BINARY = {
433451 "lac" : 6 / 9 ,
434452 "lac_split" : 8 / 9 ,
746764 random_state = random_state ,
747765)
748766
767+ # Here, we only list the strategies we want to test on larger data sets,
768+ # particularly for the raps methods which require larger data sets.
749769LARGE_COVERAGES = {
750770 "lac" : 0.802 ,
751771 "lac_split" : 0.842 ,
759779 "raps" : 0.928 ,
760780 "raps_split" : 0.918 ,
761781 "raps_randomized" : 0.806 ,
782+ "raps_randomized_split" : 0.848 ,
762783}
763784
764785
You can’t perform that action at this time.
0 commit comments