ClimbsRocks / data-formatter

Takes raw csv input and formats it to be ready for neural networks
19 stars 7 forks source link

error with data-formatter #79

Open tiblop opened 5 years ago

tiblop commented 5 years ago

I have this error when running data-formatter. It would be nice to have an example file to know if the problem comes from the file or from the code.

thanks for inviting us along on your machine learning journey!

heard an error! { Error: OSError: [Errno 2] No such file or directory: 'tempmodel.csv' at PythonShell.parseError (/Users/fl/Downloads/climbsRocks/machineJS/node_modules/python-shell/index.js:166:17) at ChildProcess. (/Users/fl/Downloads/climbsRocks/machineJS/node_modules/python-shell/index.js:80:28) at ChildProcess.emit (events.js:189:13) at Process.ChildProcess._handle.onexit (internal/child_process.js:254:12) ----- Python Traceback ----- File "/Users/fl/Downloads/climbsRocks/machineJS/node_modules/data-formatter/mainPythonProcess.py", line 43, in dataDescription, headerRow, trainingLength, X, idColumn, outputColumn, idHeader, problemType, dataDescriptionRaw, hasCustomValidationSplit, validationSplitColumn = concat.inputFiles(trainingFile, testingFile) File "/Users/fl/Downloads/climbsRocks/machineJS/node_modules/data-formatter/helperFunctions/concat.py", line 156, in inputFiles os.remove(testingFile) traceback: Traceback (most recent call last):\n File "/Users/fl/Downloads/climbsRocks/machineJS/node_modules/data-formatter/mainPythonProcess.py", line 43, in <module>\n dataDescription, headerRow, trainingLength, X, idColumn, outputColumn, idHeader, problemType, dataDescriptionRaw, hasCustomValidationSplit, validationSplitColumn = concat.inputFiles(trainingFile, testingFile)\n File "/Users/fl/Downloads/climbsRocks/machineJS/node_modules/data-formatter/helperFunctions/concat.py", line 156, in inputFiles\n os.remove(testingFile)\nOSError: [Errno 2] No such file or directory: 'tempmodel.csv'\n, executable: 'python', options: null, script: '/Users/fl/Downloads/climbsRocks/machineJS/node_modules/data-formatter/mainPythonProcess.py', args: [ '{"trainingData":"model.csv","testingData":"model.csv","trainingPrettyName":"model","testingPrettyName":"model","joinFileName":"","on":false,"allFeatureCombinations":false,"keepAllFeatures":false,"outputFolder":"/Users/fl/Downloads/climbsRocks/machineJS/pySetup/data-formatterResults","test":false,"verbose":1,"join":false}' ], exitCode: 1 }