Skip to content

Commit 3fc7c42

Browse files
committed
Added back in x_train in sample_shift.
1 parent 39cc4f2 commit 3fc7c42

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: sklbench/datasets/transformer.py

+1
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ def split_and_transform_data(bench_case, data, data_description):
124124
# The factor 0.003 was chosen arbitrarily and can be fine-tuned for other datasets and algorithms if needed.
125125
adjust_number = (math.sqrt(rank) * 0.003) + 1
126126
x_test = x_test * adjust_number
127+
x_train = x_train * adjust_number
127128

128129
elif distributed_split == "rank_based":
129130
from mpi4py import MPI

0 commit comments

Comments
 (0)