-
Notifications
You must be signed in to change notification settings - Fork 0
Poisson Distribution
Hayley Howard edited this page Mar 15, 2018
·
16 revisions
The Poisson distribution is one of the distribution functions implemented for the generator. When used inside of the Generator class, the Poisson class will generate a numpy array. This array contains a set of data that includes the timestamps within the time period specified by the user (e.g. 15-minute incremented timestamps starting at 12:00am on Monday, March 12 and running for 14 days), and the array of generated byte count values.
- Business_Hours
- Work_Hour_Start
- Days
- Start_Date
- Low_Max
- High_Max
Generator/resources/poisson.py
my_config = GeneratorConfig()
my_config.set_func_type = "poisson"
my_generator = Generator(my_config)
-
get_array(int maximum, int increments)
: internal function used to generate Poisson arrays. -
generate()
: returns a Numpy array with timestamps and byte count columns. called automatically by the Generator.