Skip to content

Commit b6673de

Browse files
authored
replace ScientificTypes
replace `ScientificTypes` with `ScientificTypesBase`
1 parent b5c8be1 commit b6673de

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/StatisticalTraits.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module StatisticalTraits
22

3-
using ScientificTypes
3+
using ScientificTypesBase
44
import Base.instances
55

66
## CONSTANTS
@@ -125,7 +125,7 @@ snakecase(s::Symbol) = Symbol(snakecase(string(s)))
125125
## TRAITS
126126

127127
# The following can return any scientific type, that is, any type
128-
# defined in the package ScientificTypes.jl, and any ordinary type
128+
# defined in the package ScientificTypesBase.jl, and any ordinary type
129129
# that functions as a scientific type (eg, `Missing`). Here "target"
130130
# is a synonym for "labels", as in supervised learning; "input" is a
131131
# synonym for "features":
@@ -207,11 +207,11 @@ traits that are meaninful for the object.
207207
*Note on overloading.* This method can be overloaded directly, as in
208208
`info(X::SomeAbstractType) = ...` or, using `info(X,
209209
::Val{:some_trait}) = ...` where `:some_trait` is a key of
210-
`ScientificTypes.TRAIT_FUNCTION_GIVEN_NAME` (such as `:is_measure`
210+
`ScientificTypesBase.TRAIT_FUNCTION_GIVEN_NAME` (such as `:is_measure`
211211
with value `is_measure`).
212212
213213
"""
214-
info(X) = info(X, Val(ScientificTypes.trait(X)))
214+
info(X) = info(X, Val(ScientificTypesBase.trait(X)))
215215
info(X, ::Val{:other}) = NamedTuple()
216216

217217
end # module

0 commit comments

Comments
 (0)