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

     1  title: "Will customer subscribe to a bank term deposit?"
     2  category: "bank"
     3  tags:
     4    - business
     5  train:
     6    dataset:
     7      csv:
     8        filename: "csv/bank.csv"
     9        hasHeader: true
    10        separator: ";"
    11      fields:
    12        - age
    13        - job
    14        - marital
    15        - education
    16        - default
    17        - balance
    18        - housing
    19        - loan
    20        - contact
    21        - day
    22        - month
    23        - duration
    24        - campaign
    25        - pdays
    26        - previous
    27        - poutcome
    28        - y
    29    when: "!hasRun || sinceLastRunMinutes > 40"
    30    ruleGeneration:
    31      fields:
    32        - age
    33        - job
    34        - marital
    35        - education
    36        - default
    37        - balance
    38        - housing
    39        - loan
    40        - contact
    41        - day
    42        - month
    43        - campaign
    44        - pdays
    45        - previous
    46        - poutcome
    47      combinationLength: 1
    48  aggregators:
    49    - name: "mccSubscribe"
    50      kind: "mcc"
    51      arg: "y == \"yes\""
    52    - name: "numSubscribe"
    53      kind: "count"
    54      arg: "y == \"yes\""
    55    - name: "recallSuccess"
    56      kind: "recall"
    57      arg: "y == \"yes\""
    58    - name: "precisionSuccess"
    59      kind: "precision"
    60      arg: "y == \"yes\""
    61  sortOrder:
    62    - aggregator: "mccSubscribe"
    63      direction: "descending"