File tree Expand file tree Collapse file tree 1 file changed +16
-6
lines changed Expand file tree Collapse file tree 1 file changed +16
-6
lines changed Original file line number Diff line number Diff line change 1
1
``` @meta
2
2
DocTestSetup = quote
3
3
using LossFunctions
4
+ using LossFunctions.Traits
4
5
end
5
6
```
6
7
@@ -26,6 +27,12 @@ is available for all the different types of losses. We will
26
27
discuss how to create a loss, how to compute its value and
27
28
derivative, and how to query its properties.
28
29
30
+ ``` @docs
31
+ Loss
32
+ SupervisedLoss
33
+ UnsupervisedLoss
34
+ ```
35
+
29
36
## Instantiating a Loss
30
37
31
38
Losses are immutable types. As such, one has to instantiate one
@@ -180,17 +187,20 @@ a loss. It follows a list of implemented property-functions
180
187
defined in [ LearnBase.jl] ( https://github.com/JuliaML/LearnBase.jl ) .
181
188
182
189
``` @docs
190
+ isdistancebased
191
+ ismarginbased
192
+ isminimizable
193
+ isdifferentiable
194
+ istwicedifferentiable
183
195
isconvex
184
196
isstrictlyconvex
185
197
isstronglyconvex
186
- isdifferentiable
187
- istwicedifferentiable
188
- islocallylipschitzcont
189
- islipschitzcont
190
198
isnemitski
199
+ isunivfishercons
200
+ isfishercons
201
+ islipschitzcont
202
+ islocallylipschitzcont
191
203
isclipable
192
- ismarginbased
193
204
isclasscalibrated
194
- isdistancebased
195
205
issymmetric
196
206
```
You can’t perform that action at this time.
0 commit comments