Skip to content

Commit 9f85e74

Browse files
committed
Use MAP in favor of MPE
1 parent 6c0afda commit 9f85e74

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

src/TensorInference.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ export MMAPModel
2929
include("Core.jl")
3030
include("RescaledArray.jl")
3131
include("utils.jl")
32-
include("inference.jl")
33-
include("maxprob.jl")
32+
include("mar.jl")
33+
include("map.jl")
3434
include("mmap.jl")
3535
include("sampling.jl")
3636

File renamed without changes.
File renamed without changes.

test/Artifacts.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[uai2014]
2-
git-tree-sha1 = "5d2c17ee6ad8e89f046b370e865780dea89e4268"
2+
git-tree-sha1 = "d05c5e541cc06f1cb4d8e24c1067e07472e36c24"
33

44
[[uai2014.download]]
5-
sha256 = "22dff6d2b27f5e78b315e4c756c24a0fb9e476c8e814a2546d7f61822426b08a"
5+
sha256 = "73c91cd68931aec562499ab66ed2326771b829aa715e790609c6a1b86c9a9ad8"
66
url = "https://github.com/mroavi/uai-2014-inference-competition/raw/main/uai2014.tar.gz"
File renamed without changes.

test/runtests.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ include("utils.jl")
99
include("mar.jl")
1010
end
1111

12-
@testset "MPE" begin
13-
include("mpe.jl")
12+
@testset "MAP" begin
13+
include("map.jl")
1414
end
1515

1616
@testset "MMAP" begin

test/utils.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ task.
55
66
# Arguments
77
- `problem_name::String`: The name of the problem or instance.
8-
- `task::String`: The task type. Supported tasks are "MAR", "MPE", "MMAP", and "PR".
8+
- `task::String`: The task type. Supported tasks are "MAR", "MAP", "MMAP", and "PR".
99
"""
1010
function get_instance_filepaths(problem_name::AbstractString, task::AbstractString)
1111
model_filepath = joinpath(artifact"uai2014", task, problem_name * ".uai")

0 commit comments

Comments
 (0)