Skip to content

Commit

Permalink
changed default compressor Kernel PCA
Browse files Browse the repository at this point in the history
  • Loading branch information
FlyingWorkshop committed Mar 27, 2024
1 parent ca9d8e8 commit 4fa8498
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/solver.jl
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ function CompressedBeliefSolver(
# sampling arguments
explorer::Union{Policy, ExplorationPolicy}=RandomPolicy(pomdp), # explorer policy; only used if expansion is false
updater::Updater=DiscreteUpdater(pomdp), # only works for discrete S
compressor::Compressor=PPCACompressor(2),
compressor::Compressor=KernelPCA(1),
expansion=true, # only works for discrete S, A, O
n::Integer=5, # if expansion, then n is the number of times we expand; otherwise, n is max number of belief samples
metric::NearestNeighbors.MinkowskiMetric=Euclidean(),
Expand Down Expand Up @@ -103,7 +103,7 @@ function CompressedBeliefSolver(
# sampling arguments
explorer::Union{Policy, ExplorationPolicy}=RandomPolicy(pomdp), # explorer policy; only used if expansion is false
updater::Updater=DiscreteUpdater(pomdp), # only works for discrete S
compressor::Compressor=PPCACompressor(2),
compressor::Compressor=KernelPCA(1),
expansion=true, # only works for discrete S, A, O
n::Integer=5, # if expansion, then n is the number of times we expand; otherwise, n is max number of belief samples
metric::NearestNeighbors.MinkowskiMetric=Euclidean(),
Expand Down

0 comments on commit 4fa8498

Please sign in to comment.