# NOT RUN {
# }
# NOT RUN {
model = keras_model_sequential() %>%
layer_dense(units = 10, input_shape = ncol(iris) - 1,activation = activation_lisht) %>%
layer_dense(units = 3)
model %>% compile(loss = 'categorical_crossentropy',
optimizer = optimizer_radam(),
metrics = metrics_f1score(3))
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab