Re: pysftp / paramiko problem

2019-06-12 Thread dieter
Robin Becker writes: > On 12/06/2019 05:59, dieter wrote: >> Robin Becker writes: >>> I am trying to convert older code that uses ftplib as the endpoint has >>> switched to sftp only. > ... > Well with real sftp I can cd to that path so if it is a symlink it goes > somewhere. > > With pysftp I

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

2019-06-12 Thread Peter Pearson
On Wed, 12 Jun 2019 04:12:34 -0700 (PDT), Rishika Sen wrote: > 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

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

Re: pysftp / paramiko problem

2019-06-12 Thread Robin Becker
On 12/06/2019 05:59, dieter wrote: Robin Becker writes: I am trying to convert older code that uses ftplib as the endpoint has switched to sftp only. I am using the pysftp wrapper around paramiko. The following script fails def main(): import pysftp with pysftp.Connection('ftp.rem