godka / comyco-lin

Comyco for linear-based QoE
7 stars 0 forks source link

Comyco for linear-based QoE

This is an official implementation of Comyco for $QoE_\texttt{lin}$. Compared with the original Comyco, we made several changes here.

Build by yourself

We use pybind11 to implement a beam-search solver. To install it please do the following steps:

pip install pybind11
cd cc
sh build.sh

The pre-build version was built using Python 3.7.9 and runs on Ubuntu 20.04.

Train Comyco

Just type

python train.py

if you have already installed Tensorflow, TFlearn and tqdm. You can monitor the learning process during training using Tensorboard. We have saved one of the training logs in the ./logs/ directory.

Test Comyco

Just type

python test.py path_to_your_model

to test the trained model. Here we provide a pre-trained model in

python test.py pretrained/model

Evaluation

plot the figure using

pip install matplotlib
python plot.py

Results are reported in 'imgs/cdf.png'. As shown, Comyco improves the average QoE of 6.5\% compared to Pensieve.

HSDPA

HSDPA

FCC

FCC

Oboe

Oboe