Skip to content

Commit

Permalink
Update and update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
giopaglia committed Nov 15, 2024
1 parent 3166a5b commit e2decca
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ Revise = "3"
ScientificTypes = "3"
Sole = "0.6"
SoleBase = "0.12"
SoleData = "0.15"
SoleData = "0.16"
SoleLogics = "0.9, 0.10"
SoleModels = "0.8"
SoleModels = "0.9"
StatsBase = "0.30 - 0.34"
Suppressor = "0.2"
Tables = "1"
Expand Down
2 changes: 1 addition & 1 deletion src/build.jl
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ function build_forest(
error("partial_sampling must be in the range (0,1]")
end

if any(map(f->!(f isa SupportedLogiset), eachmodality(X)))
if any(map(f->!(SoleData.hassupports(f)), eachmodality(X)))
@warn "Warning! Consider using structures optimized for model checking " *
"such as SupportedLogiset."
end
Expand Down
1 change: 0 additions & 1 deletion src/interfaces/MLJ.jl
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ const MDT = ModalDecisionTrees
const _package_url = "https://github.com/giopaglia/$(MDT).jl"

include("MLJ/default-parameters.jl")
include("MLJ/sanity-checks.jl")
include("MLJ/printer.jl")
include("MLJ/wrapdataset.jl")
include("MLJ/feature-importance.jl")
Expand Down
2 changes: 1 addition & 1 deletion src/interfaces/MLJ/wrapdataset.jl
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ function wrapdataset(
else
MultiData.dimensional2dataframe(X)
end
elseif X isa SupportedLogiset
elseif SoleData.hassupports(X)
X
elseif X isa AbstractModalLogiset
SupportedLogiset(X;
Expand Down

0 comments on commit e2decca

Please sign in to comment.