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

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