(self, filename=None)
return
Save model to file
Save model to file
Save model to file
def save(self, filename=None):
        """Save model to file"""
        if filename == None:
            return
        data = self.getData()
        fd = open(filename,'wb')
        pickle.dump(data,fd)
        fd.close()
        return
def save ( self , filename = None ) : if filename == None : return data = self . getData ( ) fd = open ( filename , 'wb' ) pickle . dump ( data , fd ) fd . close ( ) return