File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change 5
5
| [ ![ Build status] ( https://github.com/alan-turing-institute/StatTraits.jl/workflows/CI/badge.svg )] ( https://github.com/alan-turing-institute/StatTraits.jl/actions ) | [ ![ codecov.io] ( http://codecov.io/github/alan-turing-institute/StatTraits.jl/coverage.svg?branch=master )] ( http://codecov.io/github/alan-turing-institute/StatTraits.jl?branch=master ) |
6
6
7
7
A light-weight package defining fall-back implementations for a
8
- collection of "traits" possessed by statistical objects. Here are two
9
- examples, which apply to both statistical models and loss functions:
8
+ collection of traits possessed by statistical objects. Here a "trait"
9
+ is a function with a single argument that is a julia type, which might
10
+ encode type metadata for inspection, or for use in function
11
+ dispatch.
12
+
13
+ Here are two examples, which might be applies to both statistical
14
+ model types and loss function types:
10
15
11
16
``` julia
12
17
target_scitype (:: Type ) = Unknown
@@ -17,7 +22,7 @@ Here `Unknown` is a type defined in the light-weight package
17
22
[ ` ScientificTypes.jl ` ] ( https://github.com/alan-turing-institute/ScientificTypes.jl ) ,
18
23
the only dependency of StatsTraits.jl.
19
24
20
- Refer to [ source code] ( src/StatTraits .jl ) for a complete list.
25
+ Refer to [ source code] ( src/StatisticalTraits .jl ) for a complete list.
21
26
22
27
The traits defined here are overloaded by assorted model types and
23
28
measure types in the
You can’t perform that action at this time.
0 commit comments