Differentiable Rank

Types

Functions

SeqSpace.SoftRank.partitionMethod
partition(x; ϵ=1e-9)

Compute the sizes of each partition of constant value obtained by isotonic regression of data x. ϵ denotes the tolerance for what is considered equal in floating point terms.

SeqSpace.SoftRank.softrankMethod
softrank(x)

Regularization of the ranking algorithm. Scaled euclidean projection onto the permutehedron.

SeqSpace.SoftRank.∇isotonicMethod
∇isotonic(x)

Compute the gradient of isotonic regression with respect to the inputs about the solution point.