-
Notifications
You must be signed in to change notification settings - Fork 0
Weibull Distribution
Hayley Howard edited this page Mar 15, 2018
·
5 revisions
The Weibull distribution is one of the distribution functions implemented for the generator. When used inside of the Generator class, the Weibull 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
- Scale
- Shape
- Start_Date
- Low_Max
- High_Max
Generator/resources/weibull.py
my_config = GeneratorConfig()
my_config.set_func_type = "weibull"
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.