Skip to contents

Compute loss function for OSS

Usage

ComputeLoss(candi, last_index, X, norm)

Arguments

candi

The index of the candidate set.

last_index

The index of the seleted point in last iteration.

X

The whole data.

norm

Norm of the whole data.

Value

Loss of every point in candidate set.