-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtune_model.Rd
More file actions
32 lines (30 loc) · 745 Bytes
/
tune_model.Rd
File metadata and controls
32 lines (30 loc) · 745 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fit_nn_helper.R
\name{tune_model}
\alias{tune_model}
\title{Tune neural network hyperparameters using Bayesian optimization}
\usage{
tune_model(
X_train_norm,
Y_train_onehot,
X_val_norm,
Y_val_onehot,
trials = 200,
epochs = 50,
verbose_keras = 0,
verbose_mbo = T,
seed = NULL,
batch_size = 128
)
}
\arguments{
\item{trials}{Number of trials}
\item{verbose_keras}{Keras verbosity mode (0 = silent, 1 = progress bar, 2 = one line per epoch)}
\item{verbose_mbo}{Bayesian optimization verbosity mode (logical)}
}
\value{
See description of mbo() function from mlrMBO
}
\description{
Tune neural network hyperparameters using Bayesian optimization
}