Skip to content
Snippets Groups Projects
Commit 6b66766a authored by Pat Alt's avatar Pat Alt
Browse files

uh

parent 8cc4a901
No related branches found
No related tags found
1 merge request!8466 revision
No preview for this file type
No preview for this file type
No preview for this file type
\begin{table}
\caption{Generator hyperparameters. \label{tab:genparams} \newline}
\caption{Generator hyperparameters: the optimiser step size ($\eta$); penalty strengths where $\lambda_1$ applies to all generators but \textit{Schut} and the other parameter are specific to \textit{ECCCo}; finally, the strength for the Ridge penalty on energy for \textit{ECCCo}.\label{tab:genparams} \newline}
\centering
\fontsize{8}{10}\selectfont
\begin{tabular}[t]{rrrrr}
\begin{tabular}[t]{rrrrrr}
\toprule
Dataset & $\eta$ & $\lambda_1$ & $\lambda_2$ & $\lambda_3$\\
Dataset & $\eta$ & $\lambda_1$ & $\lambda_2$ & $\lambda_3$ & Ridge penalty\\
\midrule
Linearly Separable & 0.01 & 0.10 & 0.10 & 0.05\\
Moons & 0.01 & 0.10 & 0.10 & 0.50\\
Circles & 0.05 & 0.10 & 0.10 & 0.05\\
California Housing & 0.05 & 0.10 & 0.10 & 0.10\\
GMSC & 0.05 & 0.10 & 0.10 & 0.10\\
German Credit & 0.05 & 0.20 & 0.20 & 0.20\\
MNIST & 0.10 & 0.01 & 0.25 & 0.25\\
Fashion MNIST & 0.10 & 0.01 & 0.25 & 0.25\\
Linearly Separable & 0.01 & 0.10 & 0.1 & 0.05 & 0.0\\
Moons & 0.01 & 0.10 & 0.1 & 0.50 & 0.0\\
Circles & 0.05 & 0.10 & 0.1 & 0.05 & 1.0\\
California Housing & 0.05 & 0.10 & 0.1 & 0.10 & 0.0\\
GMSC & 0.05 & 0.10 & 0.1 & 0.10 & 0.0\\
German Credit & 0.05 & 0.20 & 0.2 & 0.20 & 0.5\\
MNIST & 0.10 & 0.01 & 0.1 & 0.30 & 0.0\\
Fashion MNIST & 0.10 & 0.01 & 0.1 & 0.30 & 0.0\\
\bottomrule
\end{tabular}
\end{table}
......@@ -580,15 +580,16 @@ dt <- lapply(files[sapply(files, function(x) grepl("generator_params.csv",x))],
fread(file.path(paste0(res_path,"params"), x))
})
dt <- Reduce(function(x,y) {rbind(x,y, fill=TRUE)}, dt)
dt <- dt[,.(dataname,eta,lambda_1,lambda_2,lambda_3)]
dt[is.na(reg_strength),reg_strength:=0]
dt <- dt[,.(dataname,eta,lambda_1_Δ,lambda_2_Δ,lambda_3_Δ,reg_strength)]
dt[,dataname:=factor(dataname, levels=dataset_order)]
dt <- dt[order(dataname)]
col_names <- c(
"Dataset",
"$\\eta$", "$\\lambda_1$", "$\\lambda_2$", "$\\lambda_3$"
"$\\eta$", "$\\lambda_1$", "$\\lambda_2$", "$\\lambda_3$", "Ridge penalty"
)
kbl(
dt, caption = "Generator hyperparameters. \\label{tab:genparams} \\newline",
dt, caption = "Generator hyperparameters: the optimiser step size ($\\eta$); penalty strengths where $\\lambda_1$ applies to all generators but \\textit{Schut} and the other parameter are specific to \\textit{ECCCo}; finally, the strength for the Ridge penalty on energy for \\textit{ECCCo}.\\label{tab:genparams} \\newline",
align = "r", col.names=col_names, booktabs = T, escape=F,
format="latex", linesep = ""
) %>%
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment