test_def_2.yaml 1.25 KB
Newer Older
1 2 3 4 5
temporal:
  name: temporal_field
  description: Temporal 1
  type: date
  dateFormat: MM/dd/yyyy HH:mm:ss a
6
  factPosition: 40
7 8 9 10 11
  denormFields:
    - hour_of_day
    - day_of_month
  algo:
    name: naiveBayes
12 13
    flatten:
      mode: foo
14 15
    polyDegree: 3
    lambda: 0.001
16 17 18
    omitFields:
      - string_dim
      - int_fact
19 20 21 22 23 24 25 26 27 28 29 30
dimensions:
  - name: string_dim
    description: String Dimension
    type: string
    position: 10
facts:
  - name: int_fact
    description: Integer Fact
    type: integer
    position: 10
    algo:
      name: linearRegression
31 32
      flatten:
        mode: foo
33 34 35 36 37 38 39 40 41
      polyDegree: 3
      iterations: 20
      stepSize: 0.001
  - name: float_fact
    description: Float Fact
    type: float
    position: 20
    algo:
      name: linearRegression
42 43
      flatten:
        mode: foo
44 45 46 47 48 49 50 51 52
      polyDegree: 3
      iterations: 20
      stepSize: 0.001
  - name: string_fact
    description: String Fact
    type: string
    position: 30
    algo:
      name: naiveBayes
53 54
      flatten:
        mode: foo
55 56 57 58 59 60 61 62 63
      polyDegree: 3
      lambda: 0.001
  - name: date_fact
    description: Date Fact
    type: date
    dateFormat: MM/dd/yyyy HH:mm:ss a
    position: 40
    algo:
      name: naiveBayes
64 65
      flatten:
        mode: foo
66 67
      polyDegree: 3
      lambda: 0.001