twitter-sentiment-analysis
twitter-sentiment-analysis copied to clipboard
preprocesser.py
I am unable to follow this code.Run preprocesser.py but no file test and train dataset is generated.
(base) c:\Twitter\twitter-sentiment-analysis-all algos (1)\twitter-sentiment-analysis-master>python preprocess.py C:\Twitter\twitter-sentiment-analysis-all algos (1)\twitter-sentiment-analysis-master\processed Usage: python preprocess.py <raw-CSV>
What is in C:\Twitter\twitter-sentiment-analysis-all algos (1)\twitter-sentiment-analysis-master\processed? Also, don't use spaces in path.
I have the same issue as well
python preprocess.py C:\Users\dina_\Desktop\DATA-MINING\SentAnalysisTwitter\twitter-sentiment-analysis\train.csv ^ SyntaxError: invalid syntax

i cannot find the file name preprocessed.py
i cannot find the file name preprocessed.csv
def classify(processed_csv, test_file=True, **params): what is the paramater **params in the baseline.py
@Arpit25upadhyay in order to solve the issue -> you will have to modify the line to this -> positive = int(float(line[:line.find(',')]))
saura
@Arpit25upadhyay in order to solve the issue -> you will have to modify the line to this -> positive = int(float(line[:line.find(',')]))
sorry ValueError: could not convert string to float: '"1467810369"' i am still getting this error.