@@ -341,7 +341,7 @@ def split_train_other(
341
341
split_type : Literal [
342
342
'mixed-set' , 'drug-blind' , 'cancer-blind'
343
343
]= 'mixed-set' ,
344
- ratio : tuple [int , int , int ]= (8 ,2 ),
344
+ ratio : tuple [int , int ]= (8 ,2 ),
345
345
stratify_by : Optional [str ]= None ,
346
346
balance : bool = False ,
347
347
random_state : Optional [Union [int ,RandomState ]]= None ,
@@ -351,7 +351,7 @@ def split_train_other(
351
351
split = split_train_other (
352
352
data = self ,
353
353
split_type = split_type ,
354
- ration = ratio ,
354
+ ratio = ratio ,
355
355
stratify_by = stratify_by ,
356
356
balance = balance ,
357
357
random_state = random_state ,
@@ -728,19 +728,19 @@ def split_train_other(
728
728
split_type : Literal [
729
729
'mixed-set' , 'drug-blind' , 'cancer-blind'
730
730
]= 'mixed-set' ,
731
- ratio : tuple [int , int , int ]= (8 ,2 ),
731
+ ratio : tuple [int , int ]= (8 ,2 ),
732
732
stratify_by : Optional [str ]= None ,
733
733
balance : bool = False ,
734
734
random_state : Optional [Union [int ,RandomState ]]= None ,
735
735
** kwargs : dict ,
736
736
):
737
737
train , other = _split_two_way (
738
- data ,
739
- split_type ,
740
- ratio ,
741
- stratify_by ,
742
- balance ,
743
- random_state ,
738
+ data = data ,
739
+ split_type = split_type ,
740
+ ratio = ratio ,
741
+ stratify_by = stratify_by ,
742
+ balance = balance ,
743
+ random_state = random_state ,
744
744
** kwargs
745
745
)
746
746
if stratify_by is not None :
0 commit comments