I know. Had I written the code, I would have not done this. I just wanted to
get some initial results by leveraging this code. I would now build on this to
improve my work's accuracy.
Thanks for the inputs!
--
http://mail.python.org/mailman/listinfo/python-list
My answers
I think Robert wanted to know how you started the program.
What instruction do you use to launch?
- used command c:\python27\python.exe c:\project_1\code.py
In what directory are you launching your program?
- working directory was c:
- python is in c:\python27
- code was in c:\projec
I got it. The working directory was different. Sorry, I'm new and didn't the
working directory has to be the location of the data. I thought the location of
.py file and data file should be same. Thanks! Es. Robert Kern.
--
http://mail.python.org/mailman/listinfo/python-list
The variable 'train' is being called like this ->
def main(train='train.csv', test='test.csv', submit='logistic_pred.csv'):
print "Reading dataset..."
train_data = pd.read_csv(train)
test_data = pd.read_csv(test)
Let me know if I need to post the full code.
--
http://mail.python.
I'm running this code that reads 2 csv files (one of them is train.csv). The
code gives an error saying 'file not does not exist'. However, the file does
exists in the same location as the .py file. Can someone please help me on
this. Thanks!
Code Output-->
Reading dataset...
Traceback (most r
Thanks!
Solved. I found the package that would resolve this dependency. It was
numpy-MKL.
Downloaded from http://www.lfd.uci.edu/~gohlke/pythonlibs/#pandas
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
I'm new to Python and trying to run a already written code. Can someone please
explain the error below? And if possible, how do I resolve this?
Traceback (most recent call last):
File "c:\Project_1\regression_1.py", line 7, in
from sklearn import metrics, cross_validation, linear_mode