code: def createEncoder():
    
    consumption_encoder = ScalarEncoder(21, 0.0, 100.0, n=50, name="consumption",
        clipInput=True)
    time_encoder = DateEncoder(timeOfDay=(21, 9.5), name="timestamp_timeOfDay")
  
    encoder = MultiEncoder()
    encoder.addEncoder("consumption", consumption_encoder)
    encoder.addEncoder("timestamp", time_encoder)
  
    return encoder
docs: Create the encoder instance for our test and return it.