hcrystalball.utils.generate_tsdata(n_dates=365, random_state=None)[source]

Generate dummy daily time series data compatible with hcrystalball API.

  • n_dates (int) – Number of days to be included in the data

  • random_state (int or RandomState instance) – Control random number generation following the scikit-learn pattern. Default is to use the global Numpy RNG. For reproducible results pass an int. To draw from a given RNG pass a RandomState.