I'm trying to implement the most basic flow of machine learning in node-red
using this library: https://flows.nodered.org/node/node-red-contrib-machine-learning.
This flow loads a CSV file, shuffles it and creates a training and a test partition.
I installed:
- Python 3.6.4 or higher accessible by the command 'python' (on Linux 'python3')
- Numpy
- Pandas
- SciKit-Learn
- Tensorflow (optional: can be skipped)
I opened node-red
from Anaconda
.
The problem:
When Clicking on "Start" node, I get the following error:
Traceback (most recent call last):
File "C:\Users\stava\node_modules\node-red-contrib-machine-learning\nodes\dataset\create-dataset/create-dataset.py",
line 12, in <module> df = pandas.read_csv(config['path'], header=None)
File "C:\Users\stava\AppData\Local\conda\conda\envs\py35\lib\site-packages\pandas\io\parsers.py",
line 678, in parser_f return _read(filepath_or_buffer, kwds)
File "C:\Users\stava\AppData\Local\conda\conda\envs\py35\lib\site-packages\pandas\io\parsers.py",
line 440, in _read parser = TextFileReader(filepath_or_buffer, **kwds)
File "C:\Users\stava\AppData\Local\conda\conda\envs\py35\lib\site-packages\pandas\io\parsers.py",
line 787, in __init__ self._make_engine(self.engine)
File "C:\Users\stava\AppData\Local\conda\conda\envs\py35\lib\site-packages\pandas\io\parsers.py",
line 1014, in _make_engine self._engine = CParserWrapper(self.f, **self.options)
File "C:\Users\stava\AppData\Local\conda\conda\envs\py35\lib\site-packages\p...