I am running Python(x,y) ver 18.104.22.168 with Spyder 2.1.11
Many times, my Spyder ide hangs up and does not finish a program. Here is the code:
import numpy as np
from sklearn import preprocessing
from sklearn import svm
from sklearn.svm import SVC
for row in csv_file_object:data.append(row)
train=read_file('C:/Users/numbersmom/Dropbox/kaggle sci kit competition/kaggle_train.csv')
test=read_file('C:/Users/numbersmom/Dropbox/kaggle sci kit competition/kaggle_test.csv')
print "Training score is", clf.score(x_train,y_train)
Spyder runs up to the last line (it executes the print statement), then just hangs up. Also, it is running this SVM incorrectly. It gives me a training score of .5 in this program when it gives a training score of .95 with the same data in another program (same code).
Is anyone else experiencing this issue? There are certain files that will run everything perfectly and certain files that seem to get corrupted and will not run anything correctly.
Also, is there a way to stop a program in Spyder? I seem to have to exit out of the program to stop it from executing code.
You received this message because you are subscribed to the Google Groups "python(x,y)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pythonxy+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to pythonxy-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
Visit this group at http://groups.google.com/group/pythonxy
For more options, visit https://groups.google.com/groups/opt_out