AUTO_VI$select_feature {autovi} | R Documentation |
Select features from the check result
Description
This function select features from the check result.
Usage
AUTO_VI$feature_pca(data = self$check_result$observed, pattern = "f_")
Arguments
data |
Dataframe. A data frame where some columns represent features and rows represent observations. |
pattern |
Character. A regrex pattern to search for features.
See also |
Details
By default, features are assumed to follow the naming convention "f_(index)", where index is from one to the number of features.
Value
A tibble where columns represent features and rows represent observations.
Examples
keras_model <- try(get_keras_model("vss_phn_32"))
if (!inherits(keras_model, "try-error")) {
myvi <- auto_vi(lm(dist ~ speed, data = cars), keras_model)
myvi$lineup_check(extract_feature_from_layer = "global_max_pooling2d")
myvi$select_feature()
}
[Package autovi version 0.4.0 Index]