'Returns the input vector for the given position in the event sequence.
Returns a one-hot vector for the given position in the event sequence, as
determined by the one hot encoding.
Args:
events: A list-like sequence of events.
position: An integer event position in the event sequence.
Returns:
An input vector, a list of floats.'

def events_to_input(self, events, position):

    input_ = ([0.0] * self.input_size)
    input_[self._one_hot_encoding.encode_event(events[position])] = 1.0
    return input_
