Skip to content

Commit

Permalink
formattingKernel added in more functions
Browse files Browse the repository at this point in the history
  • Loading branch information
AQLT authored Dec 28, 2023
1 parent b073da5 commit 745cc14
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public ISymmetricFiltering filters(int horizon, int degree, String kernel,
RKHSFilterSpec tspec=RKHSFilterSpec.builder()
.filterLength(horizon)
.polynomialDegree(degree)
.kernel(KernelOption.valueOf(kernel))
.kernel(KernelOption.valueOf(formattingKernel(kernel)))
.optimalBandWidth(optimalbw)
.asymmetricBandWith(AsymmetricCriterion.valueOf(criterion))
.density(rwdensity ? SpectralDensity.RandomWalk : SpectralDensity.Undefined)
Expand All @@ -68,7 +68,7 @@ public ISymmetricFiltering filters(int horizon, int degree, String kernel,
RKHSFilterSpec tspec=RKHSFilterSpec.builder()
.filterLength(horizon)
.polynomialDegree(degree)
.kernel(KernelOption.valueOf(kernel))
.kernel(KernelOption.valueOf(formattingKernel(kernel)))
.optimalBandWidth(optimalbw)
.asymmetricBandWith(AsymmetricCriterion.valueOf(criterion))
.density(rwdensity ? SpectralDensity.RandomWalk : SpectralDensity.Undefined)
Expand Down

0 comments on commit 745cc14

Please sign in to comment.