github.com/vlifesystems/rulehunter@v0.0.0-20180501090014-673078aa4a83/examples/experiments/iris-versicolor.yaml (about)

     1  title: "Is it Iris Versicolor?"
     2  category: "botany"
     3  tags:
     4    - iris
     5    - life
     6  train:
     7    dataset:
     8      csv:
     9        filename: "csv/iris.csv"
    10        hasHeader: false
    11        separator: ","
    12      fields:
    13         - sepalLength
    14         - sepalWidth
    15         - petalLength
    16         - petalWidth
    17         - class
    18    when: "!hasRun"
    19    ruleGeneration:
    20      fields:
    21         - sepalLength
    22         - sepalWidth
    23         - petalLength
    24         - petalWidth
    25      arithmetic: true
    26      combinationLength: 3
    27  aggregators:
    28    - name: "mccIrisVersicolor"
    29      kind: "mcc"
    30      arg: "class == \"Iris-versicolor\""
    31    - name: "numIrisVersicolor"
    32      kind: "count"
    33      arg: "class == \"Iris-versicolor\""
    34    - name: "recallIrisVersicolor"
    35      kind: "recall"
    36      arg: "class == \"Iris-versicolor\""
    37    - name: "precisionIrisVersicolor"
    38      kind: "precision"
    39      arg: "class == \"Iris-versicolor\""
    40  sortOrder:
    41    - aggregator: "mccIrisVersicolor"
    42      direction: "descending"