Forecast¶
- class passengersim.core.Forecast¶
Bases:
objectForecast objects
Methods
__init__(*args, **kwargs)Add information to the latest departure
Demand forecasting full array
Demand detruncation
Expected demand given capacity, used in EM detruncation
Get the detruncated demand data as a numpy array
Get the which_data for the detruncated demand
Get the mean demand in a timeframe
Get the mean demand to departure for a DCP
Get the standard deviation of demand in a timeframe
Get the standard deviation of demand to departure for a DCP
Vectors by DCP for various aspects of the forecast
Normal CDF, used in detruncation
Inverse normal CDF, used in detruncation
Print out all the data, for debugging
Set vectors by DCP for various aspects of the forecast
Attributes
- add_obs()¶
Add information to the latest departure
- compute_forecast()¶
Demand forecasting full array
- detruncate()¶
Demand detruncation
- detruncation_source¶
- expected_demand_given_capacity()¶
Expected demand given capacity, used in EM detruncation
- get_detruncated_demand_array()¶
Get the detruncated demand data as a numpy array
- get_detruncated_demand_which_data()¶
Get the which_data for the detruncated demand
- get_mean_in_timeframe()¶
Get the mean demand in a timeframe
- get_mean_to_departure()¶
Get the mean demand to departure for a DCP
- get_stdev_in_timeframe()¶
Get the standard deviation of demand in a timeframe
- get_stdev_to_departure()¶
Get the standard deviation of demand to departure for a DCP
- get_vectors()¶
Vectors by DCP for various aspects of the forecast
- history¶
- mean_to_dep¶
- name¶
- normal_cdf()¶
Normal CDF, used in detruncation
- normal_inv_cdf()¶
Inverse normal CDF, used in detruncation
- print()¶
Print out all the data, for debugging
- set_vectors()¶
Set vectors by DCP for various aspects of the forecast
- std_dev_to_dep¶