summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2022-11-30 10:01:05 +0100
committerLoic Guegan <manzerbredes@mailbox.org>2022-11-30 10:01:05 +0100
commit3a4c5500f7c3e139fbb44b2c98343bd0091ae593 (patch)
treea0977227382a176e759812a7762636510eef3905
parent6e4fbcd47a712e9be62d01eeecf0744a87de2ec8 (diff)
Minor changes
-rw-r--r--analysis/analysis.R28
-rw-r--r--analysis/days.R7
-rw-r--r--analysis/figures/combined.pdfbin1235707 -> 1161922 bytes
-rw-r--r--analysis/figures/dimension_coverage.pdfbin18248 -> 18212 bytes
-rw-r--r--analysis/figures/dimension_efficiency.pdfbin95369 -> 78855 bytes
-rw-r--r--analysis/figures/dimension_energy-coverage-policy.pdfbin147139 -> 139310 bytes
-rw-r--r--analysis/figures/dimension_energy-coverage-wakeupfor.pdfbin147425 -> 137643 bytes
-rw-r--r--analysis/figures/dimension_energy-coverage.pdfbin156877 -> 149152 bytes
-rw-r--r--analysis/figures/dimension_energy.pdfbin127845 -> 111807 bytes
-rw-r--r--analysis/figures/f1_scores_offline_ignoreHINTFALSE.csv3
-rw-r--r--analysis/figures/f1_scores_offline_ignoreHINTTRUE.csv3
-rw-r--r--analysis/figures/months_knn.pdfbin23421 -> 23031 bytes
-rw-r--r--analysis/figures/months_tree.pdfbin20718 -> 20626 bytes
-rw-r--r--analysis/figures/sim_dimension_coverage_NO_HINT.pdfbin32982 -> 33148 bytes
-rw-r--r--analysis/figures/sim_dimension_coverage_WITH_HINT.pdfbin33358 -> 33626 bytes
-rw-r--r--analysis/figures/sim_dimension_energy_NO_HINT.pdfbin38035 -> 36693 bytes
-rw-r--r--analysis/figures/sim_dimension_energy_WITH_HINT.pdfbin38170 -> 36850 bytes
-rw-r--r--analysis/figures/sim_results_NO_HINT.csv9
-rw-r--r--analysis/figures/sim_results_WITH_HINT.csv9
-rw-r--r--analysis/learning.R2
-rw-r--r--sim_results_WITH_HINT.csv9
-rw-r--r--slides_recap/main.aux18
-rw-r--r--slides_recap/main.log264
-rw-r--r--slides_recap/main.nav16
-rw-r--r--slides_recap/main.pdfbin321716 -> 296943 bytes
-rw-r--r--slides_recap/main.tex157
26 files changed, 330 insertions, 195 deletions
diff --git a/analysis/analysis.R b/analysis/analysis.R
index f2343a7..8a76849 100644
--- a/analysis/analysis.R
+++ b/analysis/analysis.R
@@ -19,6 +19,7 @@ nwireless=2
nsimkey=4
nsimulations=nseed*nwakeupfor*nwireless*nsimkey # Must be 3200
+if(1==2){
## Load data
data=read_csv("../CCGRID2022.csv")%>%distinct() # Note that in the data experiment wireless=="lora",seed==1,wakeupfor==60,simkey=="baseline" is present 2 times in the CSV file
tmp_data_coverage=data%>%group_by(simkey,wireless,wakeupfor,seed)%>%mutate(coverage=sum(nDataRcv))%>%ungroup()%>%filter(isSender==1)%>%select(simkey,wireless,wakeupfor,seed,coverage)
@@ -38,7 +39,7 @@ sim=sim%>%group_by(simkey,wireless,wakeupfor,energy_constraint,coverage_constrai
sim=sim%>%arrange(energy_constraint,coverage_constraint)%>%group_by(wireless,wakeupfor,model)%>%mutate(id=row_number())%>%ungroup() # Create id for each experiment
rand_id=sample(seq(1,NROW(sim)/8))
sim=sim%>%mutate(id_rand=rand_id[id])
-
+}
## Perform various plots to understand the data
GG_VARIOUS=function(){
## Dimension Coverage
@@ -56,19 +57,19 @@ GG_VARIOUS=function(){
ggsave("figures/dimension_efficiency.pdf")
## Dimension Energy/Coverage
ggplot(data_seed%>%mutate(wakeupfor=as.character(wakeupfor)),
- aes(coverage,energy,color=simkey))+geom_point()+
- ggtitle("Dimension Energy/Coverage")+xlab("Coverage")+ylab("Sum of nodes energy consumption (J)")+
+ aes(coverage,energy,color=simkey))+geom_point(alpha=0.5)+labs(color="Policy")+theme(legend.position="top")+
+ ggtitle("Dimension Energy/Coverage")+xlab("Coverage")+ylab("Nodes energy consumption (J)")+
facet_wrap(~wakeupfor+wireless,scale="free")
ggsave("figures/dimension_energy-coverage.pdf")
## Dimension Energy/Coverage Wakeupfor
ggplot(data_seed%>%mutate(wakeupfor=as.character(wakeupfor)),
- aes(coverage,energy,color=wakeupfor))+geom_point()+
- ggtitle("Dimension Energy/Coverage Wakeupfor")+xlab("Coverage")+ylab("Sum of nodes energy consumption (J)")
+ aes(coverage,energy,color=wakeupfor))+geom_point(alpha=0.5)+labs(color="Policy")+theme(legend.position="top")+
+ ggtitle("Dimension Energy/Coverage Wakeupfor")+xlab("Coverage")+ylab("Nodes energy consumption (J)")
ggsave("figures/dimension_energy-coverage-wakeupfor.pdf")
## Dimension Energy/Coverage Policy
ggplot(data_seed%>%mutate(wakeupfor=as.character(wakeupfor)),
- aes(coverage,energy,color=simkey))+geom_point()+
- ggtitle("Dimension Energy/Coverage Policy")+xlab("Coverage")+ylab("Sum of nodes energy consumption (J)")
+ aes(coverage,energy,color=simkey))+geom_point(alpha=0.5)+labs(color="Policy")+
+ ggtitle("Dimension Energy/Coverage Policy")+xlab("Coverage")+ylab("Nodes energy consumption (J)")
ggsave("figures/dimension_energy-coverage-policy.pdf")
@@ -88,23 +89,26 @@ GG_SIMULATIONS = function(file,key="NOKEY") {
rand_id=sample(seq(1,NROW(sim)/8))
sim=sim%>%mutate(id_rand=rand_id[id])
- sim_means=sim%>%group_by(wireless,wakeupfor,model)%>%summarize(mean_energy=mean(mean_energy_delta),mean_coverage=mean(mean_coverage_delta))
+ sim_means=sim%>%group_by(wireless,wakeupfor,model)%>%summarize(mean_energy=mean(mean_energy_delta),mean_coverage=mean(mean_coverage_delta),sd_energy=sd(sd_energy_delta),sd_coverage=sd(sd_coverage_delta))
+ write.csv(sim_means%>%mutate_if(is.numeric, ~round(.,digits=2)),paste0("figures/sim_results_",key,".csv"),row.names=FALSE, quote=FALSE)
+
## Dimension Energy
ggplot(sim,aes(id_rand,mean_energy_delta,color=model))+
- geom_hline(data=sim_means,aes(yintercept=mean_energy,color=model),linetype="dashed")+
geom_ribbon(aes(ymin=mean_energy_delta-sd_energy_delta,ymax=mean_energy_delta+sd_energy_delta,fill=model),alpha=0.2,color=NA)+
geom_point(aes(shape=simkey),size=2)+geom_line()+facet_wrap(~wireless+wakeupfor,scale="free")+ggtitle(paste0("Simulation Dimension Energy (",key,")"))+ylab("Energy Relative Absolute Error (J)")+
scale_x_continuous("Experiments id",breaks=seq(1,max(sim$id)))+theme(panel.grid.minor = element_blank())+labs(shape="Predictions")+
- guides(fill=guide_legend(title="Models"),color=guide_legend(title="Models"))+
+ geom_hline(data=sim_means,aes(yintercept=mean_energy,color=model))+
+ guides(fill=guide_legend(title="Models"),color=guide_legend(title="Models"))+theme(legend.position="top")+
theme(axis.text.x=element_blank(),axis.ticks.x=element_blank())
- ggsave(paste0("figures/sim_dimension_energy_",key,".pdf"),width=20)
+ ggsave(paste0("figures/sim_dimension_energy_",key,".pdf"),width=10)
+
## Dimension Coverage
ggplot(sim,aes(id_rand,mean_coverage_delta,color=model))+
geom_hline(data=sim_means,aes(yintercept=mean_coverage,color=model),linetype="dashed")+
geom_ribbon(aes(ymin=mean_coverage_delta-sd_coverage_delta,ymax=mean_coverage_delta+sd_coverage_delta,fill=model),alpha=0.2,color=NA)+
geom_point(aes(shape=simkey),size=2)+geom_line()+facet_wrap(~wireless+wakeupfor,scale="free")+ggtitle(paste0("Simulation Dimension Coverage (",key,")"))+ylab("Coverage Relative Absolute Error")+
scale_x_continuous("Experiments id",breaks=seq(1,max(sim$id)))+theme(panel.grid.minor = element_blank())+labs(shape="Predictions")+
- guides(fill=guide_legend(title="Models"),color=guide_legend(title="Models"))+
+ guides(fill=guide_legend(title="Models"),color=guide_legend(title="Models"))+theme(legend.position="top")+
theme(axis.text.x=element_blank(),axis.ticks.x=element_blank())
ggsave(paste0("figures/sim_dimension_coverage_",key,".pdf"),width=20)
diff --git a/analysis/days.R b/analysis/days.R
index 601f210..ce12930 100644
--- a/analysis/days.R
+++ b/analysis/days.R
@@ -139,11 +139,12 @@ sapply(c("knn","tree"),function(grp){
plot=plot+geom_point(data=data%>%drop_na(mean_f1_hint),aes(months,mean_f1_hint,color="hint"))+geom_line(data=data%>%drop_na(mean_f1_hint),aes(months,mean_f1_hint,color="hint"))
}
- plot=plot+xlab("Number of training months")+ylab(paste("Mean",grp,"accuracy"))+ggtitle(paste(grp,"accuracy"))+
+ plot=plot+xlab("Number of months")+ylab(paste("Mean",grp,"accuracy"))+ggtitle(paste(grp,"accuracy"))+
# geom_hline(data=metrics_peak%>%filter(model==grp),aes(yintercept=max_accuracy),color="red",size=1)+
# geom_text(data=metrics_peak%>%filter(model==grp),x=0,aes(y=max_accuracy,label = round(max_accuracy,digits=1),vjust=-1),color="red")+
- facet_wrap(~wireless+wakeupfor)+scale_x_continuous(breaks = seq(0, max(result_summary$months), by = 1))+ylim(c(0,1))+labs(color="F1 Score")
- ggsave(paste0("figures/months_",grp,".pdf"),width=20,height=15)
+ facet_wrap(~wireless+wakeupfor)+scale_x_continuous(breaks = seq(0, max(result_summary$months), by = 1))+ylim(c(NA,1))+labs(color="F1 Score")+
+ theme(legend.position="top")
+ ggsave(paste0("figures/months_",grp,".pdf"),width=9,height=8)
print(plot)
})
diff --git a/analysis/figures/combined.pdf b/analysis/figures/combined.pdf
index 80f32bd..9a4ed4b 100644
--- a/analysis/figures/combined.pdf
+++ b/analysis/figures/combined.pdf
Binary files differ
diff --git a/analysis/figures/dimension_coverage.pdf b/analysis/figures/dimension_coverage.pdf
index 6761219..4081087 100644
--- a/analysis/figures/dimension_coverage.pdf
+++ b/analysis/figures/dimension_coverage.pdf
Binary files differ
diff --git a/analysis/figures/dimension_efficiency.pdf b/analysis/figures/dimension_efficiency.pdf
index cc4ac9b..bc639e4 100644
--- a/analysis/figures/dimension_efficiency.pdf
+++ b/analysis/figures/dimension_efficiency.pdf
Binary files differ
diff --git a/analysis/figures/dimension_energy-coverage-policy.pdf b/analysis/figures/dimension_energy-coverage-policy.pdf
index 1bcb5cc..c0440c7 100644
--- a/analysis/figures/dimension_energy-coverage-policy.pdf
+++ b/analysis/figures/dimension_energy-coverage-policy.pdf
Binary files differ
diff --git a/analysis/figures/dimension_energy-coverage-wakeupfor.pdf b/analysis/figures/dimension_energy-coverage-wakeupfor.pdf
index 22d7539..42869c6 100644
--- a/analysis/figures/dimension_energy-coverage-wakeupfor.pdf
+++ b/analysis/figures/dimension_energy-coverage-wakeupfor.pdf
Binary files differ
diff --git a/analysis/figures/dimension_energy-coverage.pdf b/analysis/figures/dimension_energy-coverage.pdf
index 02d04ec..6d7cf5c 100644
--- a/analysis/figures/dimension_energy-coverage.pdf
+++ b/analysis/figures/dimension_energy-coverage.pdf
Binary files differ
diff --git a/analysis/figures/dimension_energy.pdf b/analysis/figures/dimension_energy.pdf
index a2f0c51..5a5b51c 100644
--- a/analysis/figures/dimension_energy.pdf
+++ b/analysis/figures/dimension_energy.pdf
Binary files differ
diff --git a/analysis/figures/f1_scores_offline_ignoreHINTFALSE.csv b/analysis/figures/f1_scores_offline_ignoreHINTFALSE.csv
new file mode 100644
index 0000000..6f8b376
--- /dev/null
+++ b/analysis/figures/f1_scores_offline_ignoreHINTFALSE.csv
@@ -0,0 +1,3 @@
+model,f1_baseline,f1_hint,f1_extended,f1_hintandextended,accuracy
+knn,0.83,0.73,0.9,0.79,0.69
+tree,0.9,0.75,0.86,0.79,0.7
diff --git a/analysis/figures/f1_scores_offline_ignoreHINTTRUE.csv b/analysis/figures/f1_scores_offline_ignoreHINTTRUE.csv
new file mode 100644
index 0000000..fa754ff
--- /dev/null
+++ b/analysis/figures/f1_scores_offline_ignoreHINTTRUE.csv
@@ -0,0 +1,3 @@
+model,f1_baseline,f1_hint,f1_extended,f1_hintandextended,accuracy
+knn,0.88,NA,0.89,0.91,0.81
+tree,0.93,NA,0.86,0.92,0.83
diff --git a/analysis/figures/months_knn.pdf b/analysis/figures/months_knn.pdf
index 17a4ad1..2eab11f 100644
--- a/analysis/figures/months_knn.pdf
+++ b/analysis/figures/months_knn.pdf
Binary files differ
diff --git a/analysis/figures/months_tree.pdf b/analysis/figures/months_tree.pdf
index 83d4f6d..60fe389 100644
--- a/analysis/figures/months_tree.pdf
+++ b/analysis/figures/months_tree.pdf
Binary files differ
diff --git a/analysis/figures/sim_dimension_coverage_NO_HINT.pdf b/analysis/figures/sim_dimension_coverage_NO_HINT.pdf
index b9b9519..096e285 100644
--- a/analysis/figures/sim_dimension_coverage_NO_HINT.pdf
+++ b/analysis/figures/sim_dimension_coverage_NO_HINT.pdf
Binary files differ
diff --git a/analysis/figures/sim_dimension_coverage_WITH_HINT.pdf b/analysis/figures/sim_dimension_coverage_WITH_HINT.pdf
index a226cf0..567ec38 100644
--- a/analysis/figures/sim_dimension_coverage_WITH_HINT.pdf
+++ b/analysis/figures/sim_dimension_coverage_WITH_HINT.pdf
Binary files differ
diff --git a/analysis/figures/sim_dimension_energy_NO_HINT.pdf b/analysis/figures/sim_dimension_energy_NO_HINT.pdf
index d5ab543..7a8129f 100644
--- a/analysis/figures/sim_dimension_energy_NO_HINT.pdf
+++ b/analysis/figures/sim_dimension_energy_NO_HINT.pdf
Binary files differ
diff --git a/analysis/figures/sim_dimension_energy_WITH_HINT.pdf b/analysis/figures/sim_dimension_energy_WITH_HINT.pdf
index 590bc80..cfdbf83 100644
--- a/analysis/figures/sim_dimension_energy_WITH_HINT.pdf
+++ b/analysis/figures/sim_dimension_energy_WITH_HINT.pdf
Binary files differ
diff --git a/analysis/figures/sim_results_NO_HINT.csv b/analysis/figures/sim_results_NO_HINT.csv
new file mode 100644
index 0000000..bb766bd
--- /dev/null
+++ b/analysis/figures/sim_results_NO_HINT.csv
@@ -0,0 +1,9 @@
+wireless,wakeupfor,model,mean_energy,mean_coverage,sd_energy,sd_coverage
+lora,60,knn,-32.58,-0.06,98.03,0.72
+lora,60,tree,-155.83,-0.98,119.03,0.87
+lora,180,knn,-1125.21,5.26,99.11,0.22
+lora,180,tree,-1659.57,2.44,199.05,0.44
+nbiot,60,knn,-497.99,0.32,52.86,0.3
+nbiot,60,tree,-520.09,-0.09,60.35,0.34
+nbiot,180,knn,12.46,2.32,149.98,0.17
+nbiot,180,tree,-284.82,2.18,257.4,0.29
diff --git a/analysis/figures/sim_results_WITH_HINT.csv b/analysis/figures/sim_results_WITH_HINT.csv
new file mode 100644
index 0000000..b029bef
--- /dev/null
+++ b/analysis/figures/sim_results_WITH_HINT.csv
@@ -0,0 +1,9 @@
+wireless,wakeupfor,model,mean_energy,mean_coverage,sd_energy,sd_coverage
+lora,60,knn,-171.89,-0.78,119.98,0.88
+lora,60,tree,-207.11,-1.05,123.19,0.9
+lora,180,knn,-2629.47,0.11,202.56,0.44
+lora,180,tree,-2924.29,-1.44,172.87,0.38
+nbiot,60,knn,-560.44,-0.53,67.91,0.38
+nbiot,60,tree,-521.77,0.19,61.78,0.35
+nbiot,180,knn,-1543.86,1.51,377.76,0.43
+nbiot,180,tree,-1874.18,1.36,357.03,0.41
diff --git a/analysis/learning.R b/analysis/learning.R
index 684dc7b..7273338 100644
--- a/analysis/learning.R
+++ b/analysis/learning.R
@@ -112,7 +112,7 @@ build_models=function(ignore_hint=TRUE){
f1_extended=mean(f1_extended),
f1_hintandextended=mean(f1_hintandextended),
accuracy=mean(accuracy))
- write.csv(perfs,"figures/f1_scores_offline.csv",quote=FALSE,row.names=FALSE)
+ write.csv(perfs,paste0("figures/f1_scores_offline_ignoreHINT",ignore_hint,".csv"),quote=FALSE,row.names=FALSE)
## Return models
models
diff --git a/sim_results_WITH_HINT.csv b/sim_results_WITH_HINT.csv
new file mode 100644
index 0000000..39c19dc
--- /dev/null
+++ b/sim_results_WITH_HINT.csv
@@ -0,0 +1,9 @@
+wireless,wakeupfor,model,mean_energy,mean_coverage,sd_energy,sd_coverage
+lora,60,knn,-171.894174890438,-0.78485,119.979021362517,0.881000506695269
+lora,60,tree,-207.109176324438,-1.04665,123.191879356029,0.904592377074608
+lora,180,knn,-2629.4686696761,0.1098,202.560364777475,0.443808358187967
+lora,180,tree,-2924.2896443689,-1.4438,172.872323473877,0.378762065033623
+nbiot,60,knn,-560.440017196791,-0.5309,67.911175922628,0.383376573032041
+nbiot,60,tree,-521.772976409591,0.1894,61.7799955249044,0.34876443596349
+nbiot,180,knn,-1543.86310825951,1.5118,377.756601017951,0.428983701022527
+nbiot,180,tree,-1874.17989124751,1.3578,357.028483796222,0.40544466975995
diff --git a/slides_recap/main.aux b/slides_recap/main.aux
index fe469cb..3e8f079 100644
--- a/slides_recap/main.aux
+++ b/slides_recap/main.aux
@@ -40,9 +40,15 @@
\@writefile{nav}{\headcommand {\beamer@framepages {11}{11}}}
\@writefile{nav}{\headcommand {\slideentry {0}{0}{12}{12/12}{}{0}}}
\@writefile{nav}{\headcommand {\beamer@framepages {12}{12}}}
-\@writefile{nav}{\headcommand {\beamer@partpages {1}{12}}}
-\@writefile{nav}{\headcommand {\beamer@subsectionpages {1}{12}}}
-\@writefile{nav}{\headcommand {\beamer@sectionpages {1}{12}}}
-\@writefile{nav}{\headcommand {\beamer@documentpages {12}}}
-\@writefile{nav}{\headcommand {\gdef \inserttotalframenumber {12}}}
-\gdef \@abspage@last{12}
+\@writefile{nav}{\headcommand {\slideentry {0}{0}{13}{13/13}{}{0}}}
+\@writefile{nav}{\headcommand {\beamer@framepages {13}{13}}}
+\@writefile{nav}{\headcommand {\slideentry {0}{0}{14}{14/14}{}{0}}}
+\@writefile{nav}{\headcommand {\beamer@framepages {14}{14}}}
+\@writefile{nav}{\headcommand {\slideentry {0}{0}{15}{15/15}{}{0}}}
+\@writefile{nav}{\headcommand {\beamer@framepages {15}{15}}}
+\@writefile{nav}{\headcommand {\beamer@partpages {1}{15}}}
+\@writefile{nav}{\headcommand {\beamer@subsectionpages {1}{15}}}
+\@writefile{nav}{\headcommand {\beamer@sectionpages {1}{15}}}
+\@writefile{nav}{\headcommand {\beamer@documentpages {15}}}
+\@writefile{nav}{\headcommand {\gdef \inserttotalframenumber {15}}}
+\gdef \@abspage@last{15}
diff --git a/slides_recap/main.log b/slides_recap/main.log
index bc2b7ff..9013888 100644
--- a/slides_recap/main.log
+++ b/slides_recap/main.log
@@ -1,4 +1,4 @@
-This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022/Arch Linux) (preloaded format=pdflatex 2022.11.14) 25 NOV 2022 14:49
+This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022/Arch Linux) (preloaded format=pdflatex 2022.11.14) 29 NOV 2022 14:38
entering extended mode
restricted \write18 enabled.
%&-line parsing enabled.
@@ -657,31 +657,38 @@ Package: amsthm 2020/05/29 v2.20.6
\beamer@dimb=\dimen291
)
(/usr/share/texmf-dist/tex/latex/beamer/beamerouterthemedefault.sty)))
+(/usr/share/texmf-dist/tex/latex/multirow/multirow.sty
+Package: multirow 2021/03/15 v2.8 Span multiple rows of a table
+\multirow@colwidth=\skip64
+\multirow@cntb=\count333
+\multirow@dima=\skip65
+\bigstrutjot=\dimen292
+)
(/usr/share/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def
File: l3backend-pdftex.def 2022-04-14 L3 backend support: PDF output (pdfTeX)
-\l__color_backend_stack_int=\count333
+\l__color_backend_stack_int=\count334
\l__pdf_internal_box=\box75
) (./main.aux)
\openout1 = `main.aux'.
-LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 12.
-LaTeX Font Info: ... okay on input line 12.
-LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 12.
-LaTeX Font Info: ... okay on input line 12.
-LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 12.
-LaTeX Font Info: ... okay on input line 12.
-LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 12.
-LaTeX Font Info: ... okay on input line 12.
-LaTeX Font Info: Checking defaults for TS1/cmr/m/n on input line 12.
-LaTeX Font Info: ... okay on input line 12.
-LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 12.
-LaTeX Font Info: ... okay on input line 12.
-LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 12.
-LaTeX Font Info: ... okay on input line 12.
-LaTeX Font Info: Checking defaults for PD1/pdf/m/n on input line 12.
-LaTeX Font Info: ... okay on input line 12.
-LaTeX Font Info: Checking defaults for PU/pdf/m/n on input line 12.
-LaTeX Font Info: ... okay on input line 12.
+LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 14.
+LaTeX Font Info: ... okay on input line 14.
+LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 14.
+LaTeX Font Info: ... okay on input line 14.
+LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 14.
+LaTeX Font Info: ... okay on input line 14.
+LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 14.
+LaTeX Font Info: ... okay on input line 14.
+LaTeX Font Info: Checking defaults for TS1/cmr/m/n on input line 14.
+LaTeX Font Info: ... okay on input line 14.
+LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 14.
+LaTeX Font Info: ... okay on input line 14.
+LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 14.
+LaTeX Font Info: ... okay on input line 14.
+LaTeX Font Info: Checking defaults for PD1/pdf/m/n on input line 14.
+LaTeX Font Info: ... okay on input line 14.
+LaTeX Font Info: Checking defaults for PU/pdf/m/n on input line 14.
+LaTeX Font Info: ... okay on input line 14.
*geometry* driver: auto-detecting
*geometry* detected driver: pdftex
@@ -719,16 +726,16 @@ LaTeX Font Info: ... okay on input line 12.
(/usr/share/texmf-dist/tex/context/base/mkii/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
-\scratchcounter=\count334
-\scratchdimen=\dimen292
+\scratchcounter=\count335
+\scratchdimen=\dimen293
\scratchbox=\box76
-\nofMPsegments=\count335
-\nofMParguments=\count336
+\nofMPsegments=\count336
+\nofMParguments=\count337
\everyMPshowfont=\toks45
-\MPscratchCnt=\count337
-\MPscratchDim=\dimen293
-\MPnumerator=\count338
-\makeMPintoPDFobject=\count339
+\MPscratchCnt=\count338
+\MPscratchDim=\dimen294
+\MPnumerator=\count339
+\makeMPintoPDFobject=\count340
\everyMPtoPDFconversion=\toks46
) (/usr/share/texmf-dist/tex/latex/epstopdf-pkg/epstopdf-base.sty
Package: epstopdf-base 2020-01-24 v2.11 Base part for package epstopdf
@@ -739,7 +746,7 @@ Package epstopdf-base Info: Redefining graphics rule for `.eps' on input line 4
File: epstopdf-sys.cfg 2010/07/13 v1.3 Configuration of (r)epstopdf for TeX Liv
e
))
-Package hyperref Info: Link coloring OFF on input line 12.
+Package hyperref Info: Link coloring OFF on input line 14.
(/usr/share/texmf-dist/tex/latex/hyperref/nameref.sty
Package: nameref 2021-04-02 v2.47 Cross-referencing by name of section
@@ -750,68 +757,68 @@ Package: refcount 2019/12/15 v3.6 Data extraction from label references (HO)
(/usr/share/texmf-dist/tex/generic/gettitlestring/gettitlestring.sty
Package: gettitlestring 2019/12/15 v1.6 Cleanup title references (HO)
)
-\c@section@level=\count340
+\c@section@level=\count341
)
-LaTeX Info: Redefining \ref on input line 12.
-LaTeX Info: Redefining \pageref on input line 12.
-LaTeX Info: Redefining \nameref on input line 12.
+LaTeX Info: Redefining \ref on input line 14.
+LaTeX Info: Redefining \pageref on input line 14.
+LaTeX Info: Redefining \nameref on input line 14.
(./main.out) (./main.out)
\@outlinefile=\write5
\openout5 = `main.out'.
LaTeX Font Info: Overwriting symbol font `operators' in version `normal'
-(Font) OT1/cmr/m/n --> OT1/cmss/m/n on input line 12.
+(Font) OT1/cmr/m/n --> OT1/cmss/m/n on input line 14.
LaTeX Font Info: Overwriting symbol font `operators' in version `bold'
-(Font) OT1/cmr/bx/n --> OT1/cmss/b/n on input line 12.
+(Font) OT1/cmr/bx/n --> OT1/cmss/b/n on input line 14.
\symnumbers=\mathgroup6
\sympureletters=\mathgroup7
LaTeX Font Info: Overwriting math alphabet `\mathrm' in version `normal'
-(Font) OT1/cmss/m/n --> OT1/cmr/m/n on input line 12.
-LaTeX Font Info: Redeclaring math alphabet \mathbf on input line 12.
+(Font) OT1/cmss/m/n --> OT1/cmr/m/n on input line 14.
+LaTeX Font Info: Redeclaring math alphabet \mathbf on input line 14.
LaTeX Font Info: Overwriting math alphabet `\mathbf' in version `normal'
-(Font) OT1/cmr/bx/n --> OT1/cmss/b/n on input line 12.
+(Font) OT1/cmr/bx/n --> OT1/cmss/b/n on input line 14.
LaTeX Font Info: Overwriting math alphabet `\mathbf' in version `bold'
-(Font) OT1/cmr/bx/n --> OT1/cmss/b/n on input line 12.
-LaTeX Font Info: Redeclaring math alphabet \mathsf on input line 12.
+(Font) OT1/cmr/bx/n --> OT1/cmss/b/n on input line 14.
+LaTeX Font Info: Redeclaring math alphabet \mathsf on input line 14.
LaTeX Font Info: Overwriting math alphabet `\mathsf' in version `normal'
-(Font) OT1/cmss/m/n --> OT1/cmss/m/n on input line 12.
+(Font) OT1/cmss/m/n --> OT1/cmss/m/n on input line 14.
LaTeX Font Info: Overwriting math alphabet `\mathsf' in version `bold'
-(Font) OT1/cmss/bx/n --> OT1/cmss/m/n on input line 12.
-LaTeX Font Info: Redeclaring math alphabet \mathit on input line 12.
+(Font) OT1/cmss/bx/n --> OT1/cmss/m/n on input line 14.
+LaTeX Font Info: Redeclaring math alphabet \mathit on input line 14.
LaTeX Font Info: Overwriting math alphabet `\mathit' in version `normal'
-(Font) OT1/cmr/m/it --> OT1/cmss/m/it on input line 12.
+(Font) OT1/cmr/m/it --> OT1/cmss/m/it on input line 14.
LaTeX Font Info: Overwriting math alphabet `\mathit' in version `bold'
-(Font) OT1/cmr/bx/it --> OT1/cmss/m/it on input line 12.
-LaTeX Font Info: Redeclaring math alphabet \mathtt on input line 12.
+(Font) OT1/cmr/bx/it --> OT1/cmss/m/it on input line 14.
+LaTeX Font Info: Redeclaring math alphabet \mathtt on input line 14.
LaTeX Font Info: Overwriting math alphabet `\mathtt' in version `normal'
-(Font) OT1/cmtt/m/n --> OT1/cmtt/m/n on input line 12.
+(Font) OT1/cmtt/m/n --> OT1/cmtt/m/n on input line 14.
LaTeX Font Info: Overwriting math alphabet `\mathtt' in version `bold'
-(Font) OT1/cmtt/m/n --> OT1/cmtt/m/n on input line 12.
+(Font) OT1/cmtt/m/n --> OT1/cmtt/m/n on input line 14.
LaTeX Font Info: Overwriting symbol font `numbers' in version `bold'
-(Font) OT1/cmss/m/n --> OT1/cmss/b/n on input line 12.
+(Font) OT1/cmss/m/n --> OT1/cmss/b/n on input line 14.
LaTeX Font Info: Overwriting symbol font `pureletters' in version `bold'
-(Font) OT1/cmss/m/it --> OT1/cmss/b/it on input line 12.
+(Font) OT1/cmss/m/it --> OT1/cmss/b/it on input line 14.
LaTeX Font Info: Overwriting math alphabet `\mathrm' in version `bold'
-(Font) OT1/cmss/b/n --> OT1/cmr/b/n on input line 12.
+(Font) OT1/cmss/b/n --> OT1/cmr/b/n on input line 14.
LaTeX Font Info: Overwriting math alphabet `\mathbf' in version `bold'
-(Font) OT1/cmss/b/n --> OT1/cmss/b/n on input line 12.
+(Font) OT1/cmss/b/n --> OT1/cmss/b/n on input line 14.
LaTeX Font Info: Overwriting math alphabet `\mathsf' in version `bold'
-(Font) OT1/cmss/m/n --> OT1/cmss/b/n on input line 12.
+(Font) OT1/cmss/m/n --> OT1/cmss/b/n on input line 14.
LaTeX Font Info: Overwriting math alphabet `\mathit' in version `bold'
-(Font) OT1/cmss/m/it --> OT1/cmss/b/it on input line 12.
+(Font) OT1/cmss/m/it --> OT1/cmss/b/it on input line 14.
LaTeX Font Info: Overwriting math alphabet `\mathtt' in version `bold'
-(Font) OT1/cmtt/m/n --> OT1/cmtt/b/n on input line 12.
-LaTeX Font Info: Redeclaring symbol font `pureletters' on input line 12.
+(Font) OT1/cmtt/m/n --> OT1/cmtt/b/n on input line 14.
+LaTeX Font Info: Redeclaring symbol font `pureletters' on input line 14.
LaTeX Font Info: Overwriting symbol font `pureletters' in version `normal'
(Font) OT1/cmss/m/it --> OT1/mathkerncmss/m/sl on input line 1
-2.
+4.
LaTeX Font Info: Overwriting symbol font `pureletters' in version `bold'
(Font) OT1/cmss/b/it --> OT1/mathkerncmss/m/sl on input line 1
-2.
+4.
LaTeX Font Info: Overwriting symbol font `pureletters' in version `bold'
(Font) OT1/mathkerncmss/m/sl --> OT1/mathkerncmss/bx/sl on inp
-ut line 12.
+ut line 14.
(/usr/share/texmf-dist/tex/latex/translator/translator-basic-dictionary-English
.dict
@@ -839,20 +846,20 @@ Dictionary: translator-theorem-dictionary, Language: English
) (./main.nav) [1
{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}]
-LaTeX Font Info: Trying to load font information for U+msa on input line 28.
+LaTeX Font Info: Trying to load font information for U+msa on input line 30.
(/usr/share/texmf-dist/tex/latex/amsfonts/umsa.fd
File: umsa.fd 2013/01/14 v3.01 AMS symbols A
)
-LaTeX Font Info: Trying to load font information for U+msb on input line 28.
+LaTeX Font Info: Trying to load font information for U+msb on input line 30.
(/usr/share/texmf-dist/tex/latex/amsfonts/umsb.fd
File: umsb.fd 2013/01/14 v3.01 AMS symbols B
)
LaTeX Font Info: Trying to load font information for OT1+mathkerncmss on inp
-ut line 28.
+ut line 30.
(/usr/share/texmf-dist/tex/latex/sansmathaccent/ot1mathkerncmss.fd
File: ot1mathkerncmss.fd 2020/01/31 Fontinst v1.933 font definitions for OT1/ma
@@ -860,14 +867,17 @@ thkerncmss.
) [2
]
-<../analysis/figures/dimension_energy-coverage.pdf, id=29, 1872.9975pt x 996.72
-375pt>
+<../analysis/figures/dimension_energy-coverage.pdf, id=29, 505.89pt x 505.89pt>
+
File: ../analysis/figures/dimension_energy-coverage.pdf Graphic file (type pdf)
<use ../analysis/figures/dimension_energy-coverage.pdf>
Package pdftex.def Info: ../analysis/figures/dimension_energy-coverage.pdf use
-d on input line 33.
-(pdftex.def) Requested size: 305.8268pt x 213.6605pt.
+d on input line 36.
+(pdftex.def) Requested size: 247.88826pt x 247.88826pt.
+
+Overfull \vbox (2.61514pt too high) detected at line 36
+ []
[3
@@ -877,85 +887,56 @@ d on input line 33.
] [6
+] [7
+
]
File: ../analysis/figures/dimension_energy-coverage.pdf Graphic file (type pdf)
<use ../analysis/figures/dimension_energy-coverage.pdf>
Package pdftex.def Info: ../analysis/figures/dimension_energy-coverage.pdf use
-d on input line 93.
-(pdftex.def) Requested size: 655.55896pt x 348.85854pt.
-
-Overfull \hbox (348.26909pt too wide) in paragraph at lines 93--93
- [][]
- []
-
-
-Overfull \vbox (103.58542pt too high) detected at line 93
- []
-
-[7
-
-]
-<../analysis/figures/sim_dimension_coverage_WITH_HINT.pdf, id=63, 1445.4pt x 99
-6.72375pt>
-File: ../analysis/figures/sim_dimension_coverage_WITH_HINT.pdf Graphic file (ty
-pe pdf)
-<use ../analysis/figures/sim_dimension_coverage_WITH_HINT.pdf>
-Package pdftex.def Info: ../analysis/figures/sim_dimension_coverage_WITH_HINT.p
-df used on input line 99.
-(pdftex.def) Requested size: 350.53175pt x 398.68243pt.
-
-Overfull \hbox (43.24188pt too wide) in paragraph at lines 99--99
- [][]
- []
-
-
-Overfull \vbox (153.40932pt too high) detected at line 99
- []
+d on input line 117.
+(pdftex.def) Requested size: 227.64839pt x 227.64839pt.
[8
- <../analysis/figures/sim_dimension_coverage_WITH_HINT.pdf>]
-<../analysis/figures/sim_dimension_energy_WITH_HINT.pdf, id=79, 1445.4pt x 996.
-72375pt>
-File: ../analysis/figures/sim_dimension_energy_WITH_HINT.pdf Graphic file (type
- pdf)
-<use ../analysis/figures/sim_dimension_energy_WITH_HINT.pdf>
-Package pdftex.def Info: ../analysis/figures/sim_dimension_energy_WITH_HINT.pdf
- used on input line 105.
-(pdftex.def) Requested size: 350.53175pt x 398.68243pt.
-
-Overfull \hbox (43.24188pt too wide) in paragraph at lines 105--105
- [][]
+]
+<../analysis/figures/tree_false.pdf, id=71, 505.89pt x 505.89pt>
+File: ../analysis/figures/tree_false.pdf Graphic file (type pdf)
+<use ../analysis/figures/tree_false.pdf>
+Package pdftex.def Info: ../analysis/figures/tree_false.pdf used on input line
+ 124.
+(pdftex.def) Requested size: 278.24034pt x 278.24034pt.
+
+Overfull \vbox (13.05038pt too high) detected at line 124
[]
+[9
-Overfull \vbox (153.40932pt too high) detected at line 105
- []
+ <../analysis/figures/tree_FALSE.pdf>] [10
-[9
+] [11
- <../analysis/figures/sim_dimension_energy_WITH_HINT.pdf>] [10
+] [12
]
-<../analysis/figures/months_knn.pdf, id=101, 1445.4pt x 1084.05pt>
+<../analysis/figures/months_knn.pdf, id=101, 650.43pt x 578.16pt>
File: ../analysis/figures/months_knn.pdf Graphic file (type pdf)
<use ../analysis/figures/months_knn.pdf>
Package pdftex.def Info: ../analysis/figures/months_knn.pdf used on input line
- 125.
-(pdftex.def) Requested size: 433.62335pt x 325.21751pt.
-
-Overfull \hbox (126.33348pt too wide) in paragraph at lines 125--125
- [][]
- []
-
-
-Overfull \vbox (79.9444pt too high) detected at line 125
- []
+ 202.
+(pdftex.def) Requested size: 247.16597pt x 219.70308pt.
+ [13
-[11
+ <../analysis/figures/months_knn.pdf>]
+<../analysis/figures/months_tree.pdf, id=117, 650.43pt x 578.16pt>
+File: ../analysis/figures/months_tree.pdf Graphic file (type pdf)
+<use ../analysis/figures/months_tree.pdf>
+Package pdftex.def Info: ../analysis/figures/months_tree.pdf used on input lin
+e 212.
+(pdftex.def) Requested size: 247.16597pt x 219.70308pt.
+ [14
- <../analysis/figures/months_knn.pdf>] [12
+ <../analysis/figures/months_tree.pdf>] [15
]
\tf@nav=\write6
@@ -972,23 +953,24 @@ Package rerunfilecheck Info: File `main.out' has not changed.
(rerunfilecheck) Checksum: D41D8CD98F00B204E9800998ECF8427E;0.
)
Here is how much of TeX's memory you used:
- 21535 strings out of 478238
- 416048 string characters out of 5850455
- 671442 words of memory out of 5000000
- 39300 multiletter control sequences out of 15000+600000
+ 21627 strings out of 478238
+ 417405 string characters out of 5850455
+ 680971 words of memory out of 5000000
+ 39382 multiletter control sequences out of 15000+600000
480453 words of font info for 68 fonts, out of 8000000 for 9000
1141 hyphenation exceptions out of 8191
- 128i,11n,122p,494b,427s stack positions out of 5000i,500n,10000p,200000b,80000s
-</usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmss10.pfb></usr/share/
-texmf-dist/fonts/type1/public/amsfonts/cm/cmss12.pfb></usr/share/texmf-dist/fon
-ts/type1/public/amsfonts/cm/cmss8.pfb></usr/share/texmf-dist/fonts/type1/public
-/amsfonts/cm/cmssbx10.pfb></usr/share/texmf-dist/fonts/type1/public/amsfonts/cm
-/cmssi10.pfb></usr/share/texmf-dist/fonts/type1/public/amsfonts/symbols/msam10.
-pfb>
-Output written on main.pdf (12 pages, 321716 bytes).
+ 128i,11n,122p,494b,423s stack positions out of 5000i,500n,10000p,200000b,80000s
+</usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi10.pfb></usr/share/
+texmf-dist/fonts/type1/public/amsfonts/cm/cmss10.pfb></usr/share/texmf-dist/fon
+ts/type1/public/amsfonts/cm/cmss12.pfb></usr/share/texmf-dist/fonts/type1/publi
+c/amsfonts/cm/cmss8.pfb></usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/c
+mssbx10.pfb></usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmssi10.pfb><
+/usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmsy10.pfb></usr/share/tex
+mf-dist/fonts/type1/public/amsfonts/symbols/msam10.pfb>
+Output written on main.pdf (15 pages, 296943 bytes).
PDF statistics:
- 155 PDF objects out of 1000 (max. 8388607)
- 110 compressed objects within 2 object streams
- 25 named destinations out of 1000 (max. 500000)
- 81 words of extra memory for PDF output out of 10000 (max. 10000000)
+ 182 PDF objects out of 1000 (max. 8388607)
+ 132 compressed objects within 2 object streams
+ 31 named destinations out of 1000 (max. 500000)
+ 63 words of extra memory for PDF output out of 10000 (max. 10000000)
diff --git a/slides_recap/main.nav b/slides_recap/main.nav
index 1769a89..00c131b 100644
--- a/slides_recap/main.nav
+++ b/slides_recap/main.nav
@@ -22,8 +22,14 @@
\headcommand {\beamer@framepages {11}{11}}
\headcommand {\slideentry {0}{0}{12}{12/12}{}{0}}
\headcommand {\beamer@framepages {12}{12}}
-\headcommand {\beamer@partpages {1}{12}}
-\headcommand {\beamer@subsectionpages {1}{12}}
-\headcommand {\beamer@sectionpages {1}{12}}
-\headcommand {\beamer@documentpages {12}}
-\headcommand {\gdef \inserttotalframenumber {12}}
+\headcommand {\slideentry {0}{0}{13}{13/13}{}{0}}
+\headcommand {\beamer@framepages {13}{13}}
+\headcommand {\slideentry {0}{0}{14}{14/14}{}{0}}
+\headcommand {\beamer@framepages {14}{14}}
+\headcommand {\slideentry {0}{0}{15}{15/15}{}{0}}
+\headcommand {\beamer@framepages {15}{15}}
+\headcommand {\beamer@partpages {1}{15}}
+\headcommand {\beamer@subsectionpages {1}{15}}
+\headcommand {\beamer@sectionpages {1}{15}}
+\headcommand {\beamer@documentpages {15}}
+\headcommand {\gdef \inserttotalframenumber {15}}
diff --git a/slides_recap/main.pdf b/slides_recap/main.pdf
index 31ab9d0..1f05590 100644
--- a/slides_recap/main.pdf
+++ b/slides_recap/main.pdf
Binary files differ
diff --git a/slides_recap/main.tex b/slides_recap/main.tex
index 19c4837..b72fbc4 100644
--- a/slides_recap/main.tex
+++ b/slides_recap/main.tex
@@ -1,8 +1,10 @@
\documentclass{beamer}
\usepackage{graphics}
+\usepackage{xcolor}
+\usepackage{multirow}
%Information to be included in the title page:
-\title{Nodes data dissemination policy prediction under energy consumption and network coverage constraints}
+\title{Data dissemination policy predictions under energy consumption and network coverage constraints}
\author{Loic Guegan, Issam Raïs}
\institute{UiT}
\date{2022}
@@ -20,31 +22,34 @@
\setlength\itemsep{0.8em}
\item Wireless communications
\item Energy constraint
- \item Harsh environment
+ \item Maximize coverage
\end{itemize}
\vspace{1cm}
\centering
- \textbf{But energy and coverage not deterministic}
+ \textbf{But energy and coverage are not deterministic}
\end{frame}
\begin{frame}
\frametitle{Problem}
- \includegraphics[trim={0 10cm 30cm 0},scale=0.3,clip]{../analysis/figures/dimension_energy-coverage.pdf}
+ \centering
+ \includegraphics[scale=0.49]{../analysis/figures/dimension_energy-coverage.pdf}
\end{frame}
\begin{frame}
\frametitle{Problem}
- \textbf{How to choose the right configuration for a given setup?}\\
- \vspace{1cm}
- Knowing that:\\ \vspace{0.3cm}
+ Conditions:\\ \vspace{0.3cm}
\begin{itemize}
\item Perfect coverage not required:
\begin{itemize}
- \item Just N+1,...,N+n redundancy (so n network coverage)
- \item Collaboration of n nodes (say 3 to monitor some metrics)
+ \item Just N+1,...,N+n redundancy (network coverage of n)
+ \item Collaboration of n nodes (e.g 3 to monitor a phenomenon)
\end{itemize}
- \item Clear nodes energy budget
+ \item With a target energy budget
+ \item Minimizing energy consumption not required (low energy target)
\end{itemize}
+ \vspace{1cm}
+ \centering
+ \textbf{How to choose the correct policy for a given setup?}
\end{frame}
\begin{frame}
@@ -79,7 +84,7 @@
\item Decision Trees
\end{itemize}
\vspace{1cm}
- Two ML training approaches:
+ Two ML/Analytics approaches for training:
\begin{itemize}
\item Offline
\item Online
@@ -87,49 +92,147 @@
\end{frame}
\begin{frame}
- \frametitle{Offline: The hint case}
- \centering
- \includegraphics[scale=0.35]{../analysis/figures/dimension_energy-coverage.pdf}
+ \frametitle{Offline: Accuracy}
+ Two metrics:
+ \begin{itemize}
+ \item F1 Score
+ \item Accuracy
+ \end{itemize}
+ \begin{table}[!ht]
+ \centering
+ \resizebox{\columnwidth}{!}{%
+ \begin{tabular}{|l|l|l|l|l|l|}
+ \hline
+ \textbf{model} & f1\_baseline & f1\_hint & f1\_extended & f1\_hintandextended & accuracy \\ \hline
+ \textit{knn} & 0.83 & 0.73 & 0.9 & 0.79 & 0.69 \\ \hline
+ \textit{tree} & 0.9 & 0.75 & 0.86 & 0.79 & 0.7 \\ \hline
+ \end{tabular}}
+ \end{table}
\end{frame}
\begin{frame}
- \frametitle{Offline: Coverage}
+ \frametitle{Offline: The hint case}
\centering
- \includegraphics[trim={0 0 20cm 0},scale=0.4,clip]{../analysis/figures/sim_dimension_coverage_WITH_HINT.pdf}
+ \includegraphics[scale=0.45]{../analysis/figures/dimension_energy-coverage.pdf}
\end{frame}
\begin{frame}
- \frametitle{Offline: Energy}
+ \frametitle{Offline: The hint case}
\centering
- \includegraphics[trim={0 0 20cm 0},scale=0.4,clip]{../analysis/figures/sim_dimension_energy_WITH_HINT.pdf}
+ \vspace{-0.7cm}
+ \includegraphics[scale=0.55]{../analysis/figures/tree_false.pdf}
\end{frame}
+
\begin{frame}
- \frametitle{Offline: Accuracy}
+ \frametitle{Offline: Accuracy (no hint)}
+ \begin{table}[!ht]
+ \centering
+ \resizebox{\columnwidth}{!}{%
+ \begin{tabular}{|l|l|l|l|l|l|}
+ \hline
+ \textbf{model} & f1\_baseline & f1\_hint & f1\_extended & f1\_hintandextended & accuracy \\ \hline
+ \textit{knn} & 0.83 & 0.73 & 0.9 & 0.79 & 0.69 \\ \hline
+ \textit{tree} & 0.9 & 0.75 & 0.86 & 0.79 & 0.7 \\ \hline
+ \end{tabular}}
+ \end{table}
+ %%% ----- No hint
\begin{table}[!ht]
\centering
\resizebox{\columnwidth}{!}{%
\begin{tabular}{|l|l|l|l|l|l|}
\hline
\textbf{model} & f1\_baseline & f1\_hint & f1\_extended & f1\_hintandextended & accuracy \\ \hline
- \textit{knn} & 0.88 & NA & 0.89 & 0.91 & 0.81 \\ \hline
- \textit{tree} & 0.93 & NA & 0.86 & 0.92 & 0.83 \\ \hline
+ \textit{knn} & 0.88 & NA & 0.89 & \textbf{\color{red}0.91} & \textbf{\color{blue}0.81} \\ \hline
+ \textit{tree} & 0.93 & NA & 0.86 & \textbf{\color{red}0.92} & \textbf{\color{blue}0.83} \\ \hline
+ \end{tabular}}
+ \end{table}
+\end{frame}
+
+\begin{frame}
+ \frametitle{Offline: Simulation results}
+ Random:
+ \begin{itemize}
+ \item Energy budget $[min(e), max(e)]$
+ \item Coverage target $[1, 12]$
+ \end{itemize}
+ \centering
+ \begin{table}[!ht]
+ \centering
+ \resizebox{\columnwidth}{!}{%
+ \begin{tabular}{|l|l|l|r|r|}
+ \hline
+ wireless & wakeupfor & model & $\overline{\Delta}$ Energy (J) & $\overline{\Delta}$ coverage \\ \hline
+ \multirow{4}{*}{LoRa} & \multirow{2}{*}{60} & knn & -171.89(120) & -0.78(0.88) \\ \cline{3-5}
+ & & tree & -207.11(123) & -1.05(0.90) \\ \cline{2-5}
+ & \multirow{2}{*}{180} & knn & -2629.47(203) & 0.11(0.44) \\ \cline{3-5}
+ & & tree & {\color{red}-2924.29(173)} & {\color{blue}-1.44(0.38)} \\ \hline
+ \multirow{4}{*}{NbIoT} & \multirow{2}{*}{60} & knn & -560.44(68) & -0.53(0.38) \\ \cline{3-5}
+ & & tree & -521.77(62) & 0.19(0.35) \\ \cline{2-5}
+ & \multirow{2}{*}{180} & knn & -1543.86(378) & {\color{blue}1.51(0.43)} \\ \cline{3-5}
+ & & tree & {\color{red}-1874.18(357)} & 1.36(0.41) \\ \hline
\end{tabular}}
-\end{table}
+ \end{table}
\end{frame}
\begin{frame}
\frametitle{Online}
- \centering
- \includegraphics[scale=0.3]{../analysis/figures/months_knn.pdf}
+ Assumptions:
+ \begin{itemize}
+ \item One policy per day (round-robin)
+ \item All nodes use the same policy
+ \item One extra communication per day by the sender (learning)
+ \item Energy consumption + Coverage known among the nodes
+ \end{itemize}
+ \vspace{1cm}
+ Consequences:
+ \begin{itemize}
+ \item Each node build the same model
+ \item Each node will take the same decision (policy)
+ \end{itemize}
+\end{frame}
+
+\begin{frame}
+ \frametitle{Online: KNN}
+ \vspace{-1.7cm}\hfill\includegraphics[scale=0.38]{../analysis/figures/months_knn.pdf}
+ \begin{itemize}
+ \item $\ne$ learning curves
+ \item Easier predictions on less constraint scenarios
+ \end{itemize}
+\end{frame}
+
+
+\begin{frame}
+ \frametitle{Online: Tree}
+ \vspace{-1.7cm}\hfill\includegraphics[scale=0.38]{../analysis/figures/months_tree.pdf}\hspace{-0.8cm}
+ \begin{itemize}
+ \item Baseline easier to predict
+ \item Easier predictions on less constraint scenarios
+ \end{itemize}
\end{frame}
\begin{frame}
- \frametitle{Contribution}
+ \frametitle{Summary}
+ Results:
+ \begin{itemize}
+ \item \textit{Similar policies} could lower model's accuracy
+ \item Work well with policies with \textit{low variances} in energy (fallback to energy budget (scale))
+ \item Online ML:
+ \begin{itemize}
+ \item Learning curve hard to predict (long/short)
+ \item Applicable to less energy constraint scenarios
+ \end{itemize}
+ \end{itemize}
+ Contributions:
\begin{itemize}
\item Methodology
- \item An offline model
- \item A vision on how such model ML on an online ML scenario
+ \item A study (simulations) of online/offline model
+ \end{itemize}
+ Futur works:
+ \begin{itemize}
+ \item Cost of online classification (e.g: energy)
+ \item Impact of parameters on training time (e.g: number of nodes)
+ \item Opportunistic learning for online classification (e.g: use occuring communications for learning)
\end{itemize}
\end{frame}