github.com/vlifesystems/rulehunter@v0.0.0-20180501090014-673078aa4a83/experiment/fixtures/flow.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      "ruleGeneration": {
    15        "fields": ["group","district","height"],
    16        "arithmetic": true
    17      }
    18    },
    19    "aggregators": [
    20      {
    21        "name": "goodFlowMcc",
    22        "kind": "mcc",
    23        "arg": "flow > 60"
    24      }
    25    ],
    26    "goals": ["goodFlowMcc > 0"],
    27    "sortOrder": [
    28      {
    29        "aggregator": "goodFlowMcc",
    30        "direction": "descending"
    31      },
    32      {
    33        "aggregator": "numMatches",
    34        "direction": "descending"
    35      }
    36    ],
    37    "rules": [
    38      "flow > 20",
    39      "flow < 60",
    40      "height > 67",
    41      "height >= 129",
    42      "group == \"a\"",
    43      "flow <= 9.42",
    44      "district != \"northcal\" && group == \"b\""
    45    ]
    46  }