Skip to content

Commit f4fa6a0

Browse files
authored
Merge pull request #103 from JuliaAI/dev
for a 1.1.1 release
2 parents ff0b110 + fcdbc8e commit f4fa6a0

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

Project.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11
name = "MLJModelInterface"
22
uuid = "e80e1ace-859a-464e-9ed9-23947d8ae3ea"
33
authors = ["Thibaut Lienart and Anthony Blaom"]
4-
version = "1.1.0"
4+
version = "1.1.1"
55

66
[deps]
77
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
8-
ScientificTypes = "321657f4-b219-11e9-178b-2701a2544e81"
8+
ScientificTypesBase = "30f210dd-8aff-4c5f-94ba-8e64358c1161"
99
StatisticalTraits = "64bff920-2084-43da-a3e6-9bb72801c0c9"
1010

1111
[compat]
12-
ScientificTypes = "1"
13-
StatisticalTraits = "1.1"
12+
ScientificTypesBase = "1"
13+
StatisticalTraits = "2"
1414
julia = "1"
1515

1616
[extras]
1717
CategoricalArrays = "324d7699-5711-5eae-9e2f-1d82baa6b597"
1818
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
1919
Distances = "b4f34e82-e78d-54a5-968a-f98e89d6e8f7"
2020
InteractiveUtils = "b77e0a4c-d291-57a0-90e8-8db25a27a240"
21-
MLJScientificTypes = "2e2323e0-db8b-457b-ae0d-bdfb3bc63afd"
21+
ScientificTypes = "321657f4-b219-11e9-178b-2701a2544e81"
2222
Tables = "bd369af6-aec1-5ad0-b16a-f7cc5008161c"
2323
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
2424

2525
[targets]
26-
test = ["Test", "Tables", "Distances", "CategoricalArrays", "InteractiveUtils", "DataFrames", "MLJScientificTypes"]
26+
test = ["CategoricalArrays", "DataFrames", "Distances", "InteractiveUtils", "ScientificTypes", "Tables", "Test"]

src/MLJModelInterface.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ const MODEL_TRAITS = [
2727
:deep_properties]
2828

2929
# ------------------------------------------------------------------------
30-
# Dependencies (ScientificTypes and StatisticalTraits have none)
31-
using ScientificTypes
30+
# Dependencies
31+
using ScientificTypesBase
3232
using StatisticalTraits
3333
using Random
3434

@@ -66,7 +66,7 @@ export matrix, int, classes, decoder, table,
6666
# equality
6767
export is_same_except, isrepresented
6868

69-
# re-exports from ScientificTypes
69+
# re-exports from ScientificTypesBase
7070
export Scientific, Found, Unknown, Known, Finite, Infinite,
7171
OrderedFactor, Multiclass, Count, Continuous, Textual,
7272
Binary, ColorImage, GrayImage, Image, Table

test/data_utils.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ end
7070
ary = rand(10, 3)
7171
@test M.schema(ary) === nothing
7272
M.schema(::FI, ::Val{:table}, X; kw...) =
73-
MLJScientificTypes.schema(X; kw...)
73+
ScientificTypes.schema(X; kw...)
7474
df = DataFrame(A = rand(10), B = categorical(rand('a':'c', 10)))
7575
sch = M.schema(df)
7676
@test sch.names == (:A, :B)

test/runtests.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
using Test, MLJModelInterface
2-
using ScientificTypes, MLJScientificTypes
2+
using ScientificTypesBase, ScientificTypes
33
using Tables, Distances, CategoricalArrays, InteractiveUtils
44
import DataFrames: DataFrame
55

66
const M = MLJModelInterface
77
const FI = M.FullInterface
8-
ScientificTypes.TRAIT_FUNCTION_GIVEN_NAME[:table] = Tables.istable
8+
ScientificTypesBase.TRAIT_FUNCTION_GIVEN_NAME[:table] = Tables.istable
99

1010
setlight() = M.set_interface_mode(M.LightInterface())
1111
setfull() = M.set_interface_mode(M.FullInterface())

0 commit comments

Comments
 (0)