Skip to content

Commit

Permalink
Merge pull request #30 from JuliaAI/dev
Browse files Browse the repository at this point in the history
For a 3.4 release
  • Loading branch information
ablaom authored Jun 27, 2024
2 parents 5d72ad4 + 8603f6b commit ef4280f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "StatisticalTraits"
uuid = "64bff920-2084-43da-a3e6-9bb72801c0c9"
authors = ["Anthony D. Blaom <[email protected]>"]
version = "3.3.0"
version = "3.4.0"

[deps]
ScientificTypesBase = "30f210dd-8aff-4c5f-94ba-8e64358c1161"
Expand Down
10 changes: 6 additions & 4 deletions src/StatisticalTraits.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@ const TRAITS = [
:input_scitype,
:output_scitype,
:target_scitype,
:fit_data_scitype, #
:predict_scitype, #
:transform_scitype, #
:inverse_transform_scitype, #
:fit_data_scitype,
:predict_scitype,
:transform_scitype,
:inverse_transform_scitype,
:target_in_fit,
:is_pure_julia,
:package_name,
:package_license,
Expand Down Expand Up @@ -145,6 +146,7 @@ fit_data_scitype(::Type) = Unknown
predict_scitype(::Type) = Unknown
transform_scitype(::Type) = Unknown
inverse_transform_scitype(::Type) = Unknown
target_in_fit(::Type) = false

# The following refer to properties of the package defining a type,
# for use in, say, a registry of machine learning models. All but the
Expand Down
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import SparseArrays

module Fruit

struct RedApple{T}
struct RedApple{T}
x::T
end

Expand Down

0 comments on commit ef4280f

Please sign in to comment.