flowrs-engine/e2e/fixtures/apps/train_classify.flowrs
flowRS fd958c0547 flowRS engine, cut from flowRS 3451b065
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-02 19:04:39 -05:00

94 lines
No EOL
1.7 KiB
Text

{
"format": 1,
"generator": "flowrs 0.1.0",
"nodes": [
{
"id": 0,
"type_id": "data.table",
"properties": {
"csv": "size,weight,class\\n1,1,0\\n2,1,0\\n1,2,0\\n8,9,1\\n9,8,1\\n9,9,1"
},
"position": [
60.0,
60.0
],
"group": null
},
{
"id": 1,
"type_id": "ml.train",
"properties": {
"epochs": "600",
"hidden": "6",
"label": "class"
},
"position": [
280.0,
60.0
],
"group": null
},
{
"id": 2,
"type_id": "ml.tensor",
"properties": {
"shape": "[2]",
"values": "[8.5, 8.5]"
},
"position": [
60.0,
170.0
],
"group": null
},
{
"id": 3,
"type_id": "ml.classify",
"properties": {},
"position": [
500.0,
60.0
],
"group": null
}
],
"wires": [
{
"id": 0,
"from_node": 0,
"from_port": "data",
"to_node": 1,
"to_port": "data",
"mode": "Move"
},
{
"id": 1,
"from_node": 1,
"from_port": "model",
"to_node": 3,
"to_port": "model",
"mode": "Move"
},
{
"id": 2,
"from_node": 2,
"from_port": "tensor",
"to_node": 3,
"to_port": "input",
"mode": "Move"
}
],
"groups": [],
"widgets": {
"data.table": "0067d2cdd846beb6",
"ml.classify": "065751d5dda17b0c",
"ml.tensor": "a310f1e7f8123457",
"ml.train": "7f338c6dcd13d598"
},
"app": {
"version": "1.0",
"library": "flowrs-app@1",
"source": "",
"title": "Train a classifier and predict"
}
}