Skip to content

Commit

Permalink
Now test/arm-thesis.jl can be executed by just putting NATOPS datas…
Browse files Browse the repository at this point in the history
…et folder inside a `test/data` folder
  • Loading branch information
mauro-milella committed Oct 21, 2024
1 parent 7f6a0c6 commit 5820a12
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
/src/tempfile.jl
/Manifest.toml
/docs/build/
/test/data/*
9 changes: 7 additions & 2 deletions test/arm-thesis.jl
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,14 @@ function _load_NATOPS(
vcat(X_train, X_test), vcat(y_train, y_test)
end

X_df, y = _load_NATOPS("../ModalAssociationRules/test/data/NATOPS/")
X_df, y = _load_NATOPS(joinpath(dirname(pathof(SoleData)), "../test/data/NATOPS"))

SL = scalarlogiset(
pointlogiset = scalarlogiset(
X_df;
worldtype_by_dim=Dict{Integer,Type{<:AbstractWorld}}(2 => SoleLogics.Point1D)
)

intervallogiset = scalarlogiset(
X_df;
worldtype_by_dim=Dict{Integer,Type{<:AbstractWorld}}(2 => SoleLogics.Interval)
)

0 comments on commit 5820a12

Please sign in to comment.