Skip to content

Commit 5a92eed

Browse files
committed
Merge branch 'release/0.1.2'
2 parents 62eaf78 + 308472f commit 5a92eed

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "bnn_inference"
7-
version = "0.1.1"
7+
version = "0.1.2"
88
description = "Bayesian NN training/inference engine to learn mappings between latent representations of low-resolution maps and high-resolution observations"
99
license = { file = "LICENSE" }
1010
readme = "README.md"
@@ -25,11 +25,11 @@ python = ">=3.10"
2525
blitz-bayesian-pytorch = "0.2.7"
2626
numpy = ">=1.19.0"
2727
jinja = ">=3.1.2"
28-
pandas = ">=0.25.3"
28+
pandas = ">=1.4.3"
2929
torch = ">=2.0.0"
30-
networkx = ">=3.1.0"
3130
torchvision = ">=0.15.1"
32-
scikit-learn = ">=0.23.1"
31+
networkx = ">=3.1.0"
32+
scikit-learn = ">=1.2.2"
3333
Pillow = ">=9.1.1"
3434
requests = "2.31.0"
3535
scipy = ">=1.5.0"

src/bnn_inference/train.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ def train_impl(
227227
)
228228

229229
X_train, X_valid, y_train, y_valid = train_test_split(
230-
X_norm, y_norm, test_size=xratio, shuffle=True # 8:2 ratio
230+
X_norm, y_norm, train_size=xratio, shuffle=True # 8:2 ratio
231231
)
232232
# Convert train and test vectors to tensors
233233
X_train, y_train = torch.Tensor(X_train).float(), torch.Tensor(y_train).float()

0 commit comments

Comments
 (0)