anytrellis.synthetic¶
Made-up data for examples and tests: a dict of columns, deterministic for a seed.
sensors
¶
sensors(
stations: int = 6,
sensors: int = 3,
hours: int = 24 * 14,
seed: int = 0,
) -> dict[str, ndarray]
Hourly temperatures at weather stations, each with a few sensors: columns time
(datetime64), station, region, sensor, temp and humidity.
sales
¶
sales(seed: int = 0) -> dict[str, ndarray]
Monthly sales per store and product: columns month (text, Jan..Dec), store,
product and units.
scatter
¶
scatter(
n: int = 200000, groups: int = 9, seed: int = 0
) -> dict[str, ndarray]
Many points in a few clusters per group: columns group, x, y and
cluster.