Skip to content

Commit cf638d8

Browse files
authored
Merge pull request #32 from JuliaAI/dev
For a 3.5 release
2 parents ef4280f + 9e4d359 commit cf638d8

File tree

4 files changed

+10
-5
lines changed

4 files changed

+10
-5
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ jobs:
1717
fail-fast: false
1818
matrix:
1919
version:
20-
- '1.0'
20+
- '1.6'
21+
- '1.10'
2122
- '1'
2223
os:
2324
- ubuntu-latest
@@ -29,7 +30,7 @@ jobs:
2930
with:
3031
version: ${{ matrix.version }}
3132
arch: ${{ matrix.arch }}
32-
- uses: actions/cache@v1
33+
- uses: julia-actions/cache@v1
3334
env:
3435
cache-name: cache-artifacts
3536
with:

Project.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
11
name = "StatisticalTraits"
22
uuid = "64bff920-2084-43da-a3e6-9bb72801c0c9"
33
authors = ["Anthony D. Blaom <[email protected]>"]
4-
version = "3.4.0"
4+
version = "3.5.0"
55

66
[deps]
77
ScientificTypesBase = "30f210dd-8aff-4c5f-94ba-8e64358c1161"
88

99
[compat]
1010
ScientificTypesBase = "1, 2, 3"
11-
julia = "^1"
11+
julia = "1.6"
1212

1313
[extras]
14+
REPL = "3fa0cd96-eef1-5676-8a61-b3b8758bbffb"
1415
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
1516
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
1617

1718
[targets]
18-
test = ["Test", "SparseArrays"]
19+
test = ["Test", "REPL", "SparseArrays"]

src/StatisticalTraits.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ const TRAITS = [
2727
:docstring,
2828
:name,
2929
:human_name,
30+
:tags,
3031
:is_supervised,
3132
:prediction_type,
3233
:abstract_type, #
@@ -178,6 +179,7 @@ docstring(M::Type) = string(M) # some `String`
178179
docstring(Constructor::Function) = Base.Docs.doc(Constructor) |> string
179180
is_supervised(::Type) = false # or `true`
180181
human_name(M::Type) = snakecase(name(M), delim=' ') # `name` defined below
182+
tags(::Type) = String[]
181183
orientation(::Type) = :loss # or `:score`, `:other`
182184
aggregation(::Type) = Mean()
183185
is_feature_dependent(::Type) = false

test/runtests.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ using Test
22
using StatisticalTraits
33
using ScientificTypesBase
44
import SparseArrays
5+
using REPL
56

67
module Fruit
78

0 commit comments

Comments
 (0)