Remove periods from one-sentence comments
This commit is contained in:
parent
454c2898a0
commit
049a5f6f62
1 changed files with 308 additions and 308 deletions
|
|
@ -5,12 +5,12 @@ import datetime as dt
|
|||
from velofy import config as pkg_config
|
||||
|
||||
|
||||
# The day on which most test cases take place.
|
||||
# The day on which most test cases take place
|
||||
YEAR, MONTH, DAY = 2016, 7, 1
|
||||
# Same day as a `tuple`.
|
||||
# Same day as a `tuple`
|
||||
DATE = (YEAR, MONTH, DAY)
|
||||
|
||||
# The hour when most test cases take place.
|
||||
# The hour when most test cases take place
|
||||
NOON = 12
|
||||
|
||||
# `START` and `END` constitute a 57-day time span, 8 full weeks plus 1 day.
|
||||
|
|
@ -19,7 +19,7 @@ START = dt.datetime(YEAR, MONTH, DAY, pkg_config.SERVICE_START, 0)
|
|||
_end = START + dt.timedelta(days=56) # `56` as `START` is not included
|
||||
END = dt.datetime(_end.year, _end.month, _end.day, pkg_config.SERVICE_END, 0)
|
||||
|
||||
# Default time steps (in minutes), for example, for `OrderHistory` objects.
|
||||
# Default time steps (in minutes), for example, for `OrderHistory` objects
|
||||
LONG_TIME_STEP = 60
|
||||
SHORT_TIME_STEP = 30
|
||||
TIME_STEPS = (SHORT_TIME_STEP, LONG_TIME_STEP)
|
||||
|
|
@ -30,7 +30,7 @@ VERTICAL_FREQUENCY_LONG = 7 * 12
|
|||
VERTICAL_FREQUENCY_SHORT = 7 * 24
|
||||
|
||||
# Default training horizons, for example, for
|
||||
# `OrderHistory.make_horizontal_time_series()`.
|
||||
# `OrderHistory.make_horizontal_time_series()`
|
||||
LONG_TRAIN_HORIZON = 8
|
||||
SHORT_TRAIN_HORIZON = 2
|
||||
TRAIN_HORIZONS = (SHORT_TRAIN_HORIZON, LONG_TRAIN_HORIZON)
|
||||
|
|
|
|||
Loading…
Reference in a new issue