devtools::load_all() task = tsk("boston_housing") lrn = lrn("regr.smlp2") lrn$train(task) fp = tempfile(fileext = ".h5") lrn$save(fp) system(paste0("netron ", fp))
l = lrn("classif.smlp2") l$param_set$values$epochs = 300 l$param_set$values$n_max = 24 l$param_set$values$n_layers = 2 l$param_set$values$validation_split = 0.1 l$train(tsk("iris")) l$plot() l$model lrn$model
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.