Detect whether an autoencoder is sparse

is_sparse(learner)

Arguments

learner

A "ruta_autoencoder" object

Value

Logical value indicating if a sparsity regularization in the encoding layer was found