Skip to content
This repository was archived by the owner on Jul 18, 2024. It is now read-only.
This repository was archived by the owner on Jul 18, 2024. It is now read-only.

About default radius question #5

Description

@XiaoYigwr

Thanks for your method, at the same time, I have a question to ask:

In your code

[_, loc, _] = weibull_min.fit(-np.array(grad_norm_set), c_init, optimizer=scipy_optimizer)#output:shape ,location ,scale

# Compute function value
values = classifier.predict(np.array([x]), logits=True)
value = values[:, pred_class] - values[:, target_class]

# Compute scores
s = np.min([-value[0] / loc, radius])

the parameter called "radius" are set 40, 2, 0.1 in the calculation of L1 norm, L2 norm and inf norm, I want to know whether there is a theoretical basis for these fixed defaults?

Wenrui Guo

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions