Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
print("clothing shape: ", clothing_data.shape)
print("electronics shape: ", electronics_data.shape)
print("home appliances shape: ", home_appliances_data.shape)
data = np.vstack((clothing_data, electronics_data, home_appliances_data))
category = pd.concat([clothing['category'], cameras['category'], home_appliances['category']]).values
category = to_categorical(category)
print("combined data shape: ", data.shape)
print("combined category/label shape: ", category.shape)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment