Hello together,
I want to gain some experience concerning machine learning. Therefore I tried the NR example:
node-red-contrib-machine-learning-v2, but I cant get the first part of the flow working. I receive always the errormessage: "TypeError: The "options" argument must be of type object. Received an instance of Array"
I tried to solve it with Chatgbt, but without success.
Here is the flow:
[
{
"id": "303046aefb5b7d4b",
"type": "create dataset",
"z": "971acec15c383851",
"name": "Create dataset",
"path": "C:\\Users\\henz\\Desktop\\nodered_project\\test\\iris.data",
"saveFolder": "C:\\Users\\henz\\Desktop\\nodered_project\\test\\datasets",
"saveName": "iris",
"input": "[0,1,2,3]",
"output": "4",
"trainingPartition": "80",
"shuffle": true,
"seed": "42",
"x": 720,
"y": 120,
"wires": [
[
"35158521a6ddcce8"
]
]
},
{
"id": "add958568b34bc5d",
"type": "inject",
"z": "971acec15c383851",
"name": "start",
"props": [
{
"p": "topic",
"vt": "str"
},
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "",
"payloadType": "date",
"x": 230,
"y": 120,
"wires": [
[
"303046aefb5b7d4b"
]
]
},
{
"id": "35158521a6ddcce8",
"type": "debug",
"z": "971acec15c383851",
"name": "print",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "payload",
"targetType": "msg",
"statusVal": "",
"statusType": "auto",
"x": 950,
"y": 80,
"wires": []
}
]
path to test folder: C:\Users\henz\Desktop\nodered_project\test
path to dataset folder C:\Users\henz\Desktop\nodered_project\test\datasets
Maybe some of you guys can help me.
Thank you in advance!