test_def_1.yaml 1.67 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: -1
7 8 9 10 11
  denormFields:
    - hour_of_day
    - day_of_month
  algo:
    name: linearRegression
12 13
    flatten:
      mode: foo
14 15 16
    polyDegree: 3
    iterations: 20
    stepSize: 0.001
17 18 19 20 21 22 23 24
    omitFields:
      - string_dim
      - int_fact
    weights:
      - name: hour_of_day
        weight: 100
      - name: string_dim
        weight: 10
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
dimensions:
  - name: int_dim
    description: Integer Dimension
    type: integer
    position: 10
  - name: float_dim
    description: Float Dimension
    type: float
    position: 20
  - name: string_dim
    description: String Dimension
    type: string
    position: 30
  - name: date_dim
    description: Date Dimension
    type: date
    position: 40
    dateFormat: MM/dd/yyyy HH:mm:ss a
facts:
  - name: int_fact
    description: Integer Fact
    type: integer
    position: 10
    algo:
      name: linearRegression
50 51
      flatten:
        mode: foo
52 53 54 55 56 57 58 59 60
      polyDegree: 3
      iterations: 20
      stepSize: 0.001
  - name: float_fact
    description: Float Fact
    type: float
    position: 20
    algo:
      name: linearRegression
61 62
      flatten:
        mode: foo
63 64 65 66 67 68 69 70 71
      polyDegree: 3
      iterations: 20
      stepSize: 0.001
  - name: string_fact
    description: String Fact
    type: string
    position: 30
    algo:
      name: naiveBayes
72 73
      flatten:
        mode: foo
74 75 76 77 78 79 80 81 82
      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
83 84
      flatten:
        mode: foo
85 86
      polyDegree: 3
      lambda: 0.001