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

Added data CSV file not used in training #3

Open
blackvvine opened this issue Nov 15, 2021 · 0 comments
Open

Added data CSV file not used in training #3

blackvvine opened this issue Nov 15, 2021 · 0 comments

Comments

@blackvvine
Copy link

I noticed that when running the train command, the "added data" CSV file classification_tools/data/training_data_added.csv is not actually appended to the "original" training dataset:

train_data_df.append(train_data_added, ignore_index = True)

Note that the Pandas DataFrame.append function returns a new DataFrame and does not modify its input, so the corrected version would be:

	train_data_df = train_data_df.append(train_data_added, ignore_index = True)

I'd be happy to submit this as a merge request, if that'd work.

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