You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I'm reading .hdf5 file, getting train or test output as a number. For below example, output is 3954. For other dataset (Ex- fashionmnist, lastfm etc), I'm getting train, test data in a vector format for a given id. Could anyone help here to read the train, test data in vector dimension format for kosarak?
import h5py
import csv
file_path = "kosarak-jaccard.hdf5"
file_path_csv = "kosarak_train.csv"
with h5py.File(file_path, "r") as hdf_file:
print(hdf_file['train'][100])
The text was updated successfully, but these errors were encountered:
When I'm reading .hdf5 file, getting train or test output as a number. For below example, output is 3954. For other dataset (Ex- fashionmnist, lastfm etc), I'm getting train, test data in a vector format for a given id. Could anyone help here to read the train, test data in vector dimension format for kosarak?
The text was updated successfully, but these errors were encountered: