Data Preparation

Give the greenhouse clock two coordinates

Meet midnight again

Hour 24 returns to the same point in the daily cycle as hour 0. Botie needs a representation that preserves that repetition.

BOTIE

The hour changes from 0 to 24 with period 24. How should the two-coordinate representation compare?
The inputs we are comparing

Hour or cycle position

Midnight

0

End of the cycle

24

Length of one cycle

Same in both cases

24

Full turn in radians

Same in both cases

6.2832
Result for midnight
  1. 01
  2. 10
Choose an explanation to test
The evening side of the clock

This check uses the pieces from “Place the hour around a full turn”.

BOTIE

Encode hour 18 of a 24-hour cycle as cosine followed by sine. Predict which side of the circle this time occupies.
Hour or cycle position
18
Length of one cycle
24
Full turn in radians
6.2832

Use a number, text, or an array matching the requested result. For a matrix, put each row in brackets. Saving your prediction runs your current construction on these inputs and checks the earlier examples too.

Build a construction in the workspace above first. This case will test those pieces.

What would change if the period changed, and why does retaining both sine and cosine help distinguish positions within the cycle?

Use a known period to encode repeating position; this feature does not itself fit a periodic prediction curve.

This encodes a fixed-period feature. It does not fit a temperature curve or handle calendar irregularities.

Work through the Python challenges →
Continue the courseWhat Could We Know at Prediction Time? →
← Categories Without an Invented Ranking