Last active
July 18, 2020 10:21
-
-
Save saimadhu-polamuri/b26f00c317988fc749db12b4ac94e48e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
######## Main method ######## | |
def main(): | |
# Load dataset | |
data = pd.read_csv(data_path) | |
observations = len(data.index) | |
print("Dataset Size: {}".format(observations)) | |
print(data['label'].value_counts()) | |
print(data['label'].value_counts() / len(data.index) * 100.0) | |
if __name__ == "__main__": | |
main() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment