binary_clever_score: Clever score on l2 norm for binary classification with...

Description Usage Arguments Value

View source: R/robustness_functions.R

Description

Clever score on l2 norm for binary classification with sigmoid activation.

Usage

1
binary_clever_score(model_build_fn, model_params, path_to_weights, x_test)

Arguments

model_build_fn

Function to build model.

model_params

List of model parameters.

path_to_weights

Absolute path to model weights.

x_test

Examples on which to calculate score.

Value

Lit of clever score for each test example.


willi3by/niiMLr documentation built on Dec. 23, 2021, 5:14 p.m.