Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preprocessing #4

Open
DrJonnyT opened this issue Aug 10, 2023 · 0 comments
Open

Preprocessing #4

DrJonnyT opened this issue Aug 10, 2023 · 0 comments

Comments

@DrJonnyT
Copy link
Collaborator

DrJonnyT commented Aug 10, 2023

#Print the shapes of the effusion and normal datasets and labels
print("Effusion dataset shape:", np.shape(dataset_effusion))
print("Effusion labels shape:", np.shape(label_effusion))
print("Normal datasets shape:", np.shape(dataset_normal))
print("Normal labels shape:", np.shape(label_normal))

#Print the shapes of the combined datasets
print("Combined datasets shape:", np.shape(dataset))
print("Combined labels shape:", np.shape(labels))

Also swap them round? Normal label is 0

Would be good to show the impact of preprocessing, show an image before and after

Show the image. Show the mean, min, max, stdev.
Then preprocess. Show the image again (looks the same). Show the mean, min, max, stdev (different).
Preprocessing keeps the information (hopefully) but makes the data easier for a neural network to work with

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant