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
It seems that the code must be edited in several ways for it to function:
Firstly, the directory where the .csv files are must be set so that the command os.chdir('dir') doesn't result in the error No such file or directory: 'dir'.
Next, the names of the relevant files must be changed manually (e.g. the training data and target data files).
Users should not have to change source code for it to work. I would suggest utilizing arguments, so that the necessary paths can be passed to the script when it is run. argparse is great for this purpose.
As it stands, the code cannot be run upon cloning, since there is no 'dir' directory. It also is not scalable because users will likely want to run the classification on many datasets (myself included) and we need to automate the way we call this tool. It is infeasible to edit the code for each new dataset. Keep in mind, we are users of the tool and so should not have to change the tool's code.
The text was updated successfully, but these errors were encountered:
It seems that the code must be edited in several ways for it to function:
os.chdir('dir')
doesn't result in the errorNo such file or directory: 'dir'
.Users should not have to change source code for it to work. I would suggest utilizing arguments, so that the necessary paths can be passed to the script when it is run. argparse is great for this purpose.
As it stands, the code cannot be run upon cloning, since there is no 'dir' directory. It also is not scalable because users will likely want to run the classification on many datasets (myself included) and we need to automate the way we call this tool. It is infeasible to edit the code for each new dataset. Keep in mind, we are users of the tool and so should not have to change the tool's code.
The text was updated successfully, but these errors were encountered: