Description Usage Arguments Value Examples
View source: R/flexconn_combined_model.R
FLEXCONN Model
1 2 3 4 5 6 7 8 | flexconn_model(
prefixes = c("t1", "fl"),
ndim = 2,
ds = 2,
num_filters = 128,
kernel_size_1 = 3,
kernel_size_2 = 5
)
|
prefixes |
The prefixes for each of the layers of the model. |
ndim |
Number of dimensions for convolution chain (2 or 3) |
ds |
Some fixed number??? |
num_filters |
Nubmer of filters |
kernel_size_1 |
Size of first kernel |
kernel_size_2 |
Size of second kernel |
A keras model object
1 2 3 4 5 6 7 8 9 10 11 12 | user = Sys.getenv("USER")
if (user %in% c("johnmuschelli", "travis") &
Sys.info()["sysname"] == "Darwin"){
reticulate::use_python(paste0(
"/Library/Frameworks/Python.framework/Versions/3.5/bin/python3"))
} else {
python = system("which python", intern = TRUE)
print(python)
reticulate::use_python(python)
}
res = flexconn_model()
res = flexconn_model(prefixes = c("t1", "fl", "t2"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.