We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d85ac03 commit 308472fCopy full SHA for 308472f
src/bnn_inference/train.py
@@ -227,7 +227,7 @@ def train_impl(
227
)
228
229
X_train, X_valid, y_train, y_valid = train_test_split(
230
- X_norm, y_norm, test_size=xratio, shuffle=True # 8:2 ratio
+ X_norm, y_norm, train_size=xratio, shuffle=True # 8:2 ratio
231
232
# Convert train and test vectors to tensors
233
X_train, y_train = torch.Tensor(X_train).float(), torch.Tensor(y_train).float()
0 commit comments