Skip to content

Commit

Permalink
Create test.py
Browse files Browse the repository at this point in the history
show the information of example_dataset.npz
  • Loading branch information
Teddi-P authored May 12, 2021
1 parent 3c57906 commit 760af0d
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions test.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
from raspberryturk.core.data.dataset import Dataset
import numpy as np
data = Dataset.load_file('data/processed/example_dataset.npz')
# data = np.load('data/processed/example_dataset.npz')

print(data.metadata)
np.set_printoptions(precision=4)
print(data.X_train.shape)
print(data.X_train)
print(data.y_train.shape)
print(data.y_train)
print(data.X_val.shape)
print(data.y_val.shape)
print(data.zca.shape)

0 comments on commit 760af0d

Please sign in to comment.