We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
docstring(::Function)
1 parent f0d0685 commit f2a602bCopy full SHA for f2a602b
src/StatisticalTraits.jl
@@ -173,6 +173,7 @@ abstract_type(::Type) = Any
173
is_wrapper(::Type) = false # or `true`
174
supports_online(::Type) = false # or `true`
175
docstring(M::Type) = string(M) # some `String`
176
+docstring(Contructor::Function) = Base.Docs.doc(Constructor) |> string
177
is_supervised(::Type) = false # or `true`
178
human_name(M::Type) = snakecase(name(M), delim=' ') # `name` defined below
179
orientation(::Type) = :loss # or `:score`, `:other`
0 commit comments