File tree Expand file tree Collapse file tree 4 files changed +53
-53
lines changed
Expand file tree Collapse file tree 4 files changed +53
-53
lines changed Original file line number Diff line number Diff line change @@ -26,22 +26,22 @@ def __init__(self,
2626 draw_sample_splitting = True ,
2727 apply_cross_fitting = True ):
2828 DoubleMLIIVM .__init__ (self ,
29- obj_dml_data ,
30- ml_g ,
31- ml_m ,
32- ml_r ,
33- n_folds ,
34- n_rep ,
35- score ,
36- subgroups ,
37- dml_procedure ,
38- trimming_rule ,
39- trimming_threshold ,
40- draw_sample_splitting ,
41- apply_cross_fitting )
29+ obj_dml_data = obj_dml_data ,
30+ ml_g = ml_g ,
31+ ml_m = ml_m ,
32+ ml_r = ml_r ,
33+ n_folds = n_folds ,
34+ n_rep = n_rep ,
35+ score = score ,
36+ subgroups = subgroups ,
37+ dml_procedure = dml_procedure ,
38+ trimming_rule = trimming_rule ,
39+ trimming_threshold = trimming_threshold ,
40+ draw_sample_splitting = draw_sample_splitting ,
41+ apply_cross_fitting = apply_cross_fitting )
4242 DoubleMLLambda .__init__ (self ,
43- lambda_function_name ,
44- aws_region )
43+ lambda_function_name = lambda_function_name ,
44+ aws_region = aws_region )
4545
4646 def _ml_nuisance_aws_lambda (self , cv_params ):
4747 assert self ._dml_data .n_treat == 1
Original file line number Diff line number Diff line change @@ -24,20 +24,20 @@ def __init__(self,
2424 draw_sample_splitting = True ,
2525 apply_cross_fitting = True ):
2626 DoubleMLIRM .__init__ (self ,
27- obj_dml_data ,
28- ml_g ,
29- ml_m ,
30- n_folds ,
31- n_rep ,
32- score ,
33- dml_procedure ,
34- trimming_rule ,
35- trimming_threshold ,
36- draw_sample_splitting ,
37- apply_cross_fitting )
27+ obj_dml_data = obj_dml_data ,
28+ ml_g = ml_g ,
29+ ml_m = ml_m ,
30+ n_folds = n_folds ,
31+ n_rep = n_rep ,
32+ score = score ,
33+ dml_procedure = dml_procedure ,
34+ trimming_rule = trimming_rule ,
35+ trimming_threshold = trimming_threshold ,
36+ draw_sample_splitting = draw_sample_splitting ,
37+ apply_cross_fitting = apply_cross_fitting )
3838 DoubleMLLambda .__init__ (self ,
39- lambda_function_name ,
40- aws_region )
39+ lambda_function_name = lambda_function_name ,
40+ aws_region = aws_region )
4141
4242 def _ml_nuisance_aws_lambda (self , cv_params ):
4343 assert self ._dml_data .n_treat == 1
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ def __init__(self,
1111 lambda_function_name ,
1212 aws_region ,
1313 obj_dml_data ,
14- ml_g ,
14+ ml_l ,
1515 ml_m ,
1616 ml_r ,
1717 n_folds = 5 ,
@@ -21,19 +21,19 @@ def __init__(self,
2121 draw_sample_splitting = True ,
2222 apply_cross_fitting = True ):
2323 DoubleMLPLIV .__init__ (self ,
24- obj_dml_data ,
25- ml_g ,
26- ml_m ,
27- ml_r ,
28- n_folds ,
29- n_rep ,
30- score ,
31- dml_procedure ,
32- draw_sample_splitting ,
33- apply_cross_fitting )
24+ obj_dml_data = obj_dml_data ,
25+ ml_l = ml_l ,
26+ ml_m = ml_m ,
27+ ml_r = ml_r ,
28+ n_folds = n_folds ,
29+ n_rep = n_rep ,
30+ score = score ,
31+ dml_procedure = dml_procedure ,
32+ draw_sample_splitting = draw_sample_splitting ,
33+ apply_cross_fitting = apply_cross_fitting )
3434 DoubleMLLambda .__init__ (self ,
35- lambda_function_name ,
36- aws_region )
35+ lambda_function_name = lambda_function_name ,
36+ aws_region = aws_region )
3737
3838 def _ml_nuisance_aws_lambda (self , cv_params ):
3939 assert self ._dml_data .n_treat == 1
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ def __init__(self,
1111 lambda_function_name ,
1212 aws_region ,
1313 obj_dml_data ,
14- ml_g ,
14+ ml_l ,
1515 ml_m ,
1616 n_folds = 5 ,
1717 n_rep = 1 ,
@@ -20,18 +20,18 @@ def __init__(self,
2020 draw_sample_splitting = True ,
2121 apply_cross_fitting = True ):
2222 DoubleMLPLR .__init__ (self ,
23- obj_dml_data ,
24- ml_g ,
25- ml_m ,
26- n_folds ,
27- n_rep ,
28- score ,
29- dml_procedure ,
30- draw_sample_splitting ,
31- apply_cross_fitting )
23+ obj_dml_data = obj_dml_data ,
24+ ml_l = ml_l ,
25+ ml_m = ml_m ,
26+ n_folds = n_folds ,
27+ n_rep = n_rep ,
28+ score = score ,
29+ dml_procedure = dml_procedure ,
30+ draw_sample_splitting = draw_sample_splitting ,
31+ apply_cross_fitting = apply_cross_fitting )
3232 DoubleMLLambda .__init__ (self ,
33- lambda_function_name ,
34- aws_region )
33+ lambda_function_name = lambda_function_name ,
34+ aws_region = aws_region )
3535
3636 def _ml_nuisance_aws_lambda (self , cv_params ):
3737 assert self ._dml_data .n_treat == 1
You can’t perform that action at this time.
0 commit comments