-
Notifications
You must be signed in to change notification settings - Fork 606
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
Tidy up preprocess.py with pandas #2
Comments
I run your codes,it happend [Errno 2] No such file or directory: '../train-processed-freqdist.pkl',can you solve my problem?Thank you |
@GongQin721 This is off-topic. Please read the Readme properly. |
OK ,thank you very much! |
Can you help me with headers of the csv, if any? If not, some idea about the structure of csv would be of great help. |
The csv structure is in the Dataset Information section:
|
In your lstm.py code, these '.csv' and '.pkl' files are showed asFREQ_DIST_FILE = '../train-processed-freqdist.pkl' ,TRAIN_PROCESSED_FILE = '../train-processed.csv' and so on. |
'positive-words.txt' and 'negative-words.txt' are not the dataset. They're just for the baseline. The dataset is not included in the repo. |
in stats.py which csv file should be sent train or test or any another sample |
In
preprocess_csv
function inpreprocess.py
(link), pandas can be used to parse the csv more efficiently and with way less code. The machine I was using while developing the project did not have pandas installed.The text was updated successfully, but these errors were encountered: