
An alternative approach is to imagine a circular 24-hour clock, and represent the time using the Euclidean coordinate of the clock’s hand. As shown in Figure 1, this uses two numbers to represent a single time of day, but gets rid of the …
In most cases, the individual features in the vectors are either numeric variables (for example, a flight price, flight duration, or number of stops), or collections of binary features used to represent a categorical variable via “dummy coding” or “one-hot encoding”. For example in a movie recommendation problem, an individual feature might be “suspense preference.…