Skip to content

Commit ef4280f

Browse files
authored
Merge pull request #30 from JuliaAI/dev
For a 3.4 release
2 parents 5d72ad4 + 8603f6b commit ef4280f

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

Project.toml

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

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

src/StatisticalTraits.jl

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,11 @@ const TRAITS = [
99
:input_scitype,
1010
:output_scitype,
1111
:target_scitype,
12-
:fit_data_scitype, #
13-
:predict_scitype, #
14-
:transform_scitype, #
15-
:inverse_transform_scitype, #
12+
:fit_data_scitype,
13+
:predict_scitype,
14+
:transform_scitype,
15+
:inverse_transform_scitype,
16+
:target_in_fit,
1617
:is_pure_julia,
1718
:package_name,
1819
:package_license,
@@ -145,6 +146,7 @@ fit_data_scitype(::Type) = Unknown
145146
predict_scitype(::Type) = Unknown
146147
transform_scitype(::Type) = Unknown
147148
inverse_transform_scitype(::Type) = Unknown
149+
target_in_fit(::Type) = false
148150

149151
# The following refer to properties of the package defining a type,
150152
# for use in, say, a registry of machine learning models. All but the

test/runtests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import SparseArrays
55

66
module Fruit
77

8-
struct RedApple{T}
8+
struct RedApple{T}
99
x::T
1010
end
1111

0 commit comments

Comments
 (0)