code: def saveInputsToFile(self, filename):
          
          fp = open(filename, 'w')
          for input in self.inputs:
              vec = self.replacePatterns(input)
              for item in vec:
                  fp.write("%f " % item)
              fp.write("\n")
docs: Deprecated.