Skip to content

Commit be2fe88

Browse files
committed
Change type parameters for RegularizedGeneric
1 parent 2b0c8f4 commit be2fe88

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/regularized/regularized_generic.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
"""
2-
RegularizedGeneric{ΩF,ΩG,F,G,M,S}
2+
RegularizedGeneric{RF,RG,F,G,M,S}
33
44
Generic and differentiable regularized prediction function `ŷ(θ) = argmax {θᵀy - Ω(y)}`.
55
66
Relies on the Frank-Wolfe algorithm to minimize a concave objective on a polytope.
77
88
# Fields
9-
- `Ω::ΩF`
10-
- `∇Ω::ΩG`
9+
- `Ω::RF`
10+
- `∇Ω::RG`
1111
- `f::F`
1212
- `∇ₓf::G`
1313
- `maximizer::M`
1414
- `linear_solver::S`
1515
1616
See also: [`DifferentiableFrankWolfe`](@ref).
1717
"""
18-
struct RegularizedGeneric{ΩF,ΩG,F,G,M,S}
18+
struct RegularizedGeneric{RF,RG,F,G,M,S}
1919
Ω::ΩF
2020
∇Ω::ΩG
2121
f::F

0 commit comments

Comments
 (0)