github.com/vlifesystems/rulehunter@v0.0.0-20180501090014-673078aa4a83/experiment/fixtures/flow_when_hasrun.json (about)

     1  {
     2    "title": "What would indicate good flow?",
     3    "tags": ["test", "fred / ned"],
     4    "category": "testing",
     5    "train": {
     6      "dataset": {
     7        "csv": {
     8          "filename": "fixtures/flow.csv",
     9          "hasHeader": true,
    10          "separator":  ","
    11        },
    12        "fields": ["group","district","height","flow"]
    13      },
    14      "when": "hasRun",
    15      "ruleGeneration": {
    16        "fields": ["group","district","height"],
    17        "arithmetic": true
    18      }
    19    },
    20    "aggregators": [
    21      {
    22        "name": "goodFlowMcc",
    23        "kind": "mcc",
    24        "arg": "flow > 60"
    25      }
    26    ],
    27    "goals": ["goodFlowMcc > 0"],
    28    "sortOrder": [
    29      {
    30        "aggregator": "goodFlowMcc",
    31        "direction": "descending"
    32      },
    33      {
    34        "aggregator": "numMatches",
    35        "direction": "descending"
    36      }
    37    ],
    38    "rules": [
    39      "flow > 20",
    40      "flow < 60",
    41      "height > 67",
    42      "height >= 129",
    43      "group == \"a\"",
    44      "flow <= 9.42",
    45      "district != \"northcal\" && group == \"b\""
    46    ]
    47  }
    48