Why am a getting wrong prediction when combining two list of samples, which individually gives correct prediction?

2019-06-12 Thread Rishika Sen
So I am coding in Python. I have to set of samples. Set1 contains samples of class A and the other set, Set2 contains samples of class B. When I am predicting set1 and set2 individually, the classification is perfect. Now when I am merging the two sets for prediction into one set, the prediction

Can I execute a python code written in Python 2.7 (using numpy and tensor flow executed in linux) in Winpython 3.6 on Windows?

2018-04-16 Thread Rishika Sen
Here is the code that has been written in Python 2.7, numpy, tensorflow: https://drive.google.com/open?id=1JZe7wfRcdlEF6Z5C0ePBjtte_2L4Kk-7 Can you please let me know what changes I have to make to execute it on WinPython 3.6? Else, is there a version on Python 2.7 in Winpython? I have Winpython

Re: Calling Matlab (2016a) function from Python(3.6)

2018-03-28 Thread Rishika Sen
error persists >>> h.Execute ("run('H:\\rishika\\MATLAB\\filewrite.m')") '??? Error using run (line 41)\nH:\\rishika\\MATLAB\\filewrite.m not found.\n\n' >>> h.Execute ("run(r'H:\rishika\MATLAB\filewrite.m')") '??? Error: Unexpected MATLAB expression.\n\n -- https://mail.python.org/mailman/listinf

Re: Calling Matlab (2016a) function from Python(3.6)

2018-03-28 Thread Rishika Sen
I tried these options too as suggested by Paul... >>> h.Execute ("run('H:\\rishika\\MATLAB\\filewrite.m')") '??? Error using run (line 41)\nH:\\rishika\\MATLAB\\filewrite.m not found.\n\n' >>> h.Execute ("run(r'H:\rishika\MATLAB\filewrite.m')") '??? Error: Unexpected MATLAB expression.\n\n -- htt