Skip to content

Commit

Permalink
Merging updates to conform to JOSS guidelines (#46)
Browse files Browse the repository at this point in the history
* Update code examples for paper/paper.md to follow syntax of v0.1.14

* Update to VERSION v0.1.15

* No changes in functionalities in current patch update. Only fixes and additions are made to
follow JOSS guidelines.

* Remove OhMyREPL and Revise from Project.toml
  • Loading branch information
zengfung authored Jan 21, 2022
1 parent 1f84106 commit 8d12bf2
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "WaveletsExt"
uuid = "8f464e1e-25db-479f-b0a5-b7680379e03f"
authors = ["Zeng Fung Liew <[email protected]>", "Shozen Dan <[email protected]>"]
version = "0.1.14"
version = "0.1.15"

[deps]
AverageShiftedHistograms = "77b51b56-6f8f-5c3a-9cb4-d71f9594ea6e"
Expand Down
Binary file modified paper/bestbasis.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified paper/denoising.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions paper/examples.jl
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ p2 = wiggle(y) |> p -> plot!(p, yticks=1:9, title="Stationary WT")

# Combine and save plot
p = plot(p1, p2, layout=(1,2))
savefig(p, "transforms.png")
savefig(p, "tpaper/ransforms.png")

# 2. Best Basis Algorithms -----------------------------------------------------------------
# Compared to Wavelets.jl, WaveletsExt.jl has an extended ability of catering toward
Expand All @@ -39,12 +39,12 @@ xw = wpdall(x, wt, 6)

# ----- Joint Best Basis (JBB)
tree = bestbasistree(xw, JBB())
p1 = plot_tfbdry(tree, 6, nd_col=:green, ln_col=:black, bg_col=:white) |>
p1 = plot_tfbdry(tree, 6, node_color=:green, line_color=:black, background_color=:white) |>
p -> plot!(p, title="JBB")

# ----- Least Statistically Dependent Basis (LSDB)
tree = bestbasistree(xw, LSDB())
p2 = plot_tfbdry(tree, 6, nd_col=:green, ln_col=:black, bg_col=:white) |>
p2 = plot_tfbdry(tree, 6, node_color=:green, line_color=:black, background_color=:white) |>
p -> plot!(p, title="LSDB")

# Combine and save plot
Expand Down Expand Up @@ -118,7 +118,7 @@ ldb = LocalDiscriminantBasis(wt=wt,
= fit_transform(ldb, X, y)

# Plot the best basis for feature extraction
p2 = plot_tfbdry(ldb.tree, 6, nd_col=:green, ln_col=:black, bg_col=:white)
p2 = plot_tfbdry(ldb.tree, 6, node_color=:green, line_color=:black, background_color=:white)
plot!(p2, title="Basis Selection using LDB")

p = plot(p1, p2, size=(600,300))
Expand Down
Binary file modified paper/ldb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions paper/paper.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,12 @@ xw = wpdall(x, wt, 6)

# ----- Joint Best Basis (JBB)
tree = bestbasistree(xw, JBB())
p1 = plot_tfbdry(tree, nd_col=:black, ln_col=:black, bg_col=:white) |>
p1 = plot_tfbdry(tree, node_color=:green, line_color=:black, background_color=:white) |>
p -> plot!(p, title="JBB")

# ----- Least Statistically Dependent Basis (LSDB)
tree = bestbasistree(xw, LSDB())
p2 = plot_tfbdry(tree, nd_col=:black, ln_col=:black, bg_col=:white) |>
p2 = plot_tfbdry(tree, node_color=:green, line_color=:black, background_color=:white) |>
p -> plot!(p, title="LSDB")

# Combine and save plot
Expand Down Expand Up @@ -159,7 +159,7 @@ ldb = LocalDiscriminantBasis(
= fit_transform(ldb, X, y)

# Plot the best basis for feature extraction
p2 = plot_tfbdry(ldb.tree, nd_col=:black, ln_col=:black, bg_col=:white)
p2 = plot_tfbdry(ldb.tree, node_color=:green, line_color=:black, background_color=:white)
plot!(p2, title="Basis Selection using LDB")

# Combine and save plot
Expand Down

2 comments on commit 8d12bf2

@zengfung
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/52940

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.1.15 -m "<description of version>" 8d12bf2547417767223f039220f38b55331d7aa0
git push origin v0.1.15

Please sign in to comment.