{
  "schema_version": 2,
  "diagram_type": "workflow",
  "meta": {
    "title": "Gán nhãn và chọn H-Neurons",
    "quality_profile": "showcase",
    "views": [
      {
        "id": "label",
        "label": "Gán nhãn",
        "focus": [
          "bad",
          "good",
          "filler",
          "probe"
        ],
        "note": "Chỉ phần đáp án của câu bịa là nhãn 1; đáp án câu đúng và chữ đệm là nhãn 0."
      },
      {
        "id": "select",
        "label": "Chọn",
        "focus": [
          "probe",
          "hn"
        ],
        "note": "L1 ép gần hết trọng số về 0; neuron còn trọng số dương là H-Neurons."
      }
    ],
    "legend": {
      "mode": "hidden"
    }
  },
  "lanes": [
    {
      "id": "pos",
      "label": "Nhãn 1 (bịa)"
    },
    {
      "id": "neg",
      "label": "Nhãn 0"
    },
    {
      "id": "sel",
      "label": "Chọn neuron"
    }
  ],
  "phases": [
    {
      "id": "p1",
      "label": "Đặc trưng CETT",
      "fromCol": 0,
      "toCol": 1
    },
    {
      "id": "p2",
      "label": "Học và chọn",
      "fromCol": 2,
      "toCol": 3,
      "variant": "emphasis"
    }
  ],
  "mainPath": [
    "bad",
    "probe",
    "hn"
  ],
  "nodes": [
    {
      "id": "bad",
      "lane": "pos",
      "col": 0,
      "type": "frontend",
      "label": "Đáp án câu bịa",
      "sublabel": "vd: \"Sydney\"",
      "width": 150
    },
    {
      "id": "good",
      "lane": "neg",
      "col": 0,
      "type": "frontend",
      "label": "Đáp án câu đúng",
      "sublabel": "vd: \"Shakespeare\"",
      "width": 150
    },
    {
      "id": "filler",
      "lane": "neg",
      "col": 1,
      "type": "frontend",
      "label": "Chữ đệm",
      "sublabel": "của mọi câu",
      "width": 130
    },
    {
      "id": "probe",
      "lane": "sel",
      "col": 2,
      "type": "backend",
      "label": "Logistic + L1",
      "sublabel": "gần hết trọng số = 0",
      "width": 160
    },
    {
      "id": "hn",
      "lane": "sel",
      "col": 3,
      "type": "database",
      "label": "H-Neurons",
      "sublabel": "trọng số > 0",
      "width": 140
    }
  ],
  "edges": [
    {
      "id": "e1",
      "from": "bad",
      "to": "probe",
      "variant": "emphasis"
    },
    {
      "id": "e2",
      "from": "good",
      "to": "probe"
    },
    {
      "id": "e3",
      "from": "filler",
      "to": "probe"
    },
    {
      "id": "e4",
      "from": "probe",
      "to": "hn",
      "variant": "emphasis"
    }
  ]
}
