github.com/vlifesystems/rulehunter@v0.0.0-20180501090014-673078aa4a83/cmd/fixtures/debt.yaml (about)

     1  fileFormatVersion: "0.1"
     2  title: "What is most likely to indicate success"
     3  category: "testing"
     4  tags:
     5    - bank
     6    - loan
     7  train:
     8    dataset:
     9      csv:
    10        filename: "fixtures/debt.csv"
    11        hasHeader: true
    12        separator:  ","
    13      fields:
    14        - "name"
    15        - "balance"
    16        - "num_cards"
    17        - "marital_status"
    18        - "tertiary_educated"
    19        - "success"
    20    when: "!hasRun"
    21    ruleGeneration:
    22      fields:
    23        - "name"
    24        - "balance"
    25        - "num_cards"
    26        - "marital_status"
    27        - "tertiary_educated"
    28  aggregators:
    29    - name: "successMcc"
    30      kind: "mcc"
    31      arg: "success"
    32  goals:
    33    - "successMcc > 0"
    34  sortOrder:
    35    - aggregator: "successMcc"
    36      direction: "descending"