Semi-synthetic time-varrying traffic generator based on averaged time series
Project description
Traffic Weaver
Semi-synthetic time-varrying traffic generator based on averaged time series.
Acknowledgments and citation
TBD
Table of content
Introduction
Traffic Weaver is a Python package developed to generate a semi-synthetic signal (time series) with finer granularity, based on averaged time series, in a manner that, upon averaging, closely matches the original signal provided. The key components utilized to recreate the signal encompass:
- oversampling with a given strategy,
- stretching to match the integral of the original time series,
- smoothing,
- repeating,
- applying trend,
- adding noise.
The primary motivation behind Traffic Weaver is to furnish semi-synthetic time-varying traffic in telecommunication networks, facilitating the development and validation of traffic prediction models, as well as aiding in the deployment of network optimization algorithms tailored for time-varying traffic.
Below figure shows a general usage example. Based on the provided original averaged time series (a), the signal is $n$-times oversampled with a predefined strategy (b). Next, it is stretched to match the integral of the input time series function (c). Further, it is smoothed with a spline function (d). In order to create weekly semi-synthetic data, the signal is repeated seven times (e), applying a long-term trend consisting of sinusoidal and linear functions (f). Finally, the noise is introduced to the signal, starting from small values and increasing over time (g). To validate the correctness of the applied processing, (h) presents the averaged two periods of the created signal, showing that they closely match the original signal (except the applied trend).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file traffic-weaver-1.3.3.tar.gz
.
File metadata
- Download URL: traffic-weaver-1.3.3.tar.gz
- Upload date:
- Size: 20.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ddfd402b29acca5f10d1b0795f9d47ed541efd4cfa30846be75ef738a0d12ded |
|
MD5 | f12e723d7f57c77b48c8faa0d5890919 |
|
BLAKE2b-256 | b2859eaa8c6053bfe4d88be8a5385bd7b02f15493c00fbcbc72f883e9740371c |
File details
Details for the file traffic_weaver-1.3.3-py3-none-any.whl
.
File metadata
- Download URL: traffic_weaver-1.3.3-py3-none-any.whl
- Upload date:
- Size: 22.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab07b2a4c01c6ce90679dcfef16bc89b5ff2ed87b7e711367f6c6132b6820ff2 |
|
MD5 | b4dffdf9e6dfe307e64e8a86f246c6dd |
|
BLAKE2b-256 | 07005bdbabb3fd3b76e541001879412ec600be6901a3b8e92dd91be4c8f6a3bd |