{
  "_version": "2.0.0",
  "configuration": {
    "time_quantum": 86400,
    "learning_period": 1296000000,
    "context": {
      "day_off": {
        "type": "enum"
      },
      "next_day_off": {
        "type": "enum"
      },
      "sleep_at_home": {
        "type": "enum"
      },
      "sleep_start": {
        "type": "time_of_day",
        "is_generated": false
      },
      "sleep": {
        "type": "continuous"
      }
    },
    "output": [
      "sleep"
    ]
  },
  "trees": {
    "sleep": {
      "children": [
        {
          "children": [
            {
              "children": [
                {
                  "children": [
                    {
                      "decision_rule": {
                        "operand": [
                          0.05,
                          0.23333333
                        ],
                        "operator": "[in[",
                        "property": "sleep_start"
                      },
                      "prediction": {
                        "confidence": 0.6800363659858704,
                        "distribution": {
                          "max": 9.350000381469728,
                          "min": 6.066666603088379,
                          "standard_deviation": 1.3473141
                        },
                        "nb_samples": 4,
                        "value": 7.6375
                      }
                    },
                    {
                      "decision_rule": {
                        "operand": [
                          0.23333333,
                          11.533334
                        ],
                        "operator": "[in[",
                        "property": "sleep_start"
                      },
                      "prediction": {
                        "confidence": 0.8383409976959229,
                        "distribution": {
                          "max": 7.349999904632568,
                          "min": 4.916666507720947,
                          "standard_deviation": 0.7433748
                        },
                        "nb_samples": 17,
                        "value": 5.8735294
                      }
                    }
                  ],
                  "decision_rule": {
                    "operand": [
                      0.05,
                      11.533334
                    ],
                    "operator": "[in[",
                    "property": "sleep_start"
                  }
                },
                {
                  "decision_rule": {
                    "operand": [
                      11.533334,
                      21.05
                    ],
                    "operator": "[in[",
                    "property": "sleep_start"
                  },
                  "prediction": {
                    "confidence": 0.5,
                    "distribution": {
                      "max": 1.8166667222976685,
                      "min": 1.8166667222976685,
                      "standard_deviation": 0
                    },
                    "nb_samples": 1,
                    "value": 1.8166667
                  }
                }
              ],
              "decision_rule": {
                "operand": [
                  0.05,
                  21.05
                ],
                "operator": "[in[",
                "property": "sleep_start"
              }
            },
            {
              "children": [
                {
                  "children": [
                    {
                      "decision_rule": {
                        "operand": "False",
                        "operator": "is",
                        "property": "next_day_off"
                      },
                      "prediction": {
                        "confidence": 0.5,
                        "distribution": {
                          "max": 8.166666984558105,
                          "min": 8.166666984558105,
                          "standard_deviation": 0
                        },
                        "nb_samples": 1,
                        "value": 8.166667
                      }
                    },
                    {
                      "decision_rule": {
                        "operand": "True",
                        "operator": "is",
                        "property": "next_day_off"
                      },
                      "prediction": {
                        "confidence": 0.5,
                        "distribution": {
                          "max": 9,
                          "min": 9,
                          "standard_deviation": 0
                        },
                        "nb_samples": 1,
                        "value": 9
                      }
                    }
                  ],
                  "decision_rule": {
                    "operand": [
                      21.05,
                      22.516666
                    ],
                    "operator": "[in[",
                    "property": "sleep_start"
                  }
                },
                {
                  "children": [
                    {
                      "decision_rule": {
                        "operand": [
                          22.516666,
                          23.9
                        ],
                        "operator": "[in[",
                        "property": "sleep_start"
                      },
                      "prediction": {
                        "confidence": 0.8521174192428589,
                        "distribution": {
                          "max": 10.233333587646484,
                          "min": 5.75,
                          "standard_deviation": 0.98185086
                        },
                        "nb_samples": 32,
                        "value": 7.115625
                      }
                    },
                    {
                      "decision_rule": {
                        "operand": [
                          23.9,
                          0.05
                        ],
                        "operator": "[in[",
                        "property": "sleep_start"
                      },
                      "prediction": {
                        "confidence": 0.8435721397399902,
                        "distribution": {
                          "max": 6.800000190734863,
                          "min": 6.050000190734863,
                          "standard_deviation": 0.2384361
                        },
                        "nb_samples": 7,
                        "value": 6.3999996
                      }
                    }
                  ],
                  "decision_rule": {
                    "operand": [
                      22.516666,
                      0.05
                    ],
                    "operator": "[in[",
                    "property": "sleep_start"
                  }
                }
              ],
              "decision_rule": {
                "operand": [
                  21.05,
                  0.05
                ],
                "operator": "[in[",
                "property": "sleep_start"
              }
            }
          ],
          "decision_rule": {
            "operand": "False",
            "operator": "is",
            "property": "day_off"
          }
        },
        {
          "children": [
            {
              "children": [
                {
                  "decision_rule": {
                    "operand": [
                      0,
                      0.11666667
                    ],
                    "operator": "[in[",
                    "property": "sleep_start"
                  },
                  "prediction": {
                    "confidence": 0.5,
                    "distribution": {
                      "max": 11.016666412353516,
                      "min": 11.016666412353516,
                      "standard_deviation": 0
                    },
                    "nb_samples": 1,
                    "value": 11.016666
                  }
                },
                {
                  "children": [
                    {
                      "decision_rule": {
                        "operand": "False",
                        "operator": "is",
                        "property": "next_day_off"
                      },
                      "prediction": {
                        "confidence": 0.7612020373344421,
                        "distribution": {
                          "max": 12.06666660308838,
                          "min": 6.150000095367432,
                          "standard_deviation": 1.7872038
                        },
                        "nb_samples": 12,
                        "value": 8.404167
                      }
                    },
                    {
                      "decision_rule": {
                        "operand": "True",
                        "operator": "is",
                        "property": "next_day_off"
                      },
                      "prediction": {
                        "confidence": 0.8161180019378662,
                        "distribution": {
                          "max": 12.783333778381348,
                          "min": 6.7166666984558105,
                          "standard_deviation": 1.449383
                        },
                        "nb_samples": 17,
                        "value": 9.217648
                      }
                    }
                  ],
                  "decision_rule": {
                    "operand": [
                      0.11666667,
                      23.633333
                    ],
                    "operator": "[in[",
                    "property": "sleep_start"
                  }
                }
              ],
              "decision_rule": {
                "operand": [
                  0,
                  23.633333
                ],
                "operator": "[in[",
                "property": "sleep_start"
              }
            },
            {
              "children": [
                {
                  "decision_rule": {
                    "operand": "False",
                    "operator": "is",
                    "property": "next_day_off"
                  },
                  "prediction": {
                    "confidence": 0.5,
                    "distribution": {
                      "max": 10.983333587646484,
                      "min": 10.983333587646484,
                      "standard_deviation": 0
                    },
                    "nb_samples": 1,
                    "value": 10.983334
                  }
                },
                {
                  "children": [
                    {
                      "decision_rule": {
                        "operand": "False",
                        "operator": "is",
                        "property": "sleep_at_home"
                      },
                      "prediction": {
                        "confidence": 0.721132755279541,
                        "distribution": {
                          "max": 10.083333015441896,
                          "min": 9.399999618530272,
                          "standard_deviation": 0.3945228
                        },
                        "nb_samples": 3,
                        "value": 9.855556
                      }
                    },
                    {
                      "decision_rule": {
                        "operand": "True",
                        "operator": "is",
                        "property": "sleep_at_home"
                      },
                      "prediction": {
                        "confidence": 0.5,
                        "distribution": {
                          "max": 10.31666660308838,
                          "min": 10.31666660308838,
                          "standard_deviation": 0
                        },
                        "nb_samples": 1,
                        "value": 10.316667
                      }
                    }
                  ],
                  "decision_rule": {
                    "operand": "True",
                    "operator": "is",
                    "property": "next_day_off"
                  }
                }
              ],
              "decision_rule": {
                "operand": [
                  23.633333,
                  0
                ],
                "operator": "[in[",
                "property": "sleep_start"
              }
            }
          ],
          "decision_rule": {
            "operand": "True",
            "operator": "is",
            "property": "day_off"
          }
        }
      ]
    }
  }
}