code: def ContinuousXor(n):
      "2 inputs are chosen uniformly from (0.0 .. 2.0]; output is xor of ints."
      examples = []
      for i in range(n):
          x, y = [random.uniform(0.0, 2.0) for i in '12']
          examples.append([x, y, int(x) != int(y)])
      return DataSet(name="continuous xor", examples=examplesf ContinuousXor(n):
      "2 inputs are chosen uniformly from (0.0 .. 2.0]; output is xor of ints."
      examples = []
      for i in range(n):
          x, y = [random.uniform(0.0, 2.0) for i in '12']
          examples.append([x, y, int(x) != int(y)])
      return DataSet(name="continuous xor", examples=examples)
docs: 2 inputs are chosen uniformly from (0.0 .. 2.0]; output is xor of ints.