Skip to content

Commit

Permalink
updated readme & fixed function call for julia compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
wildart committed Mar 6, 2022
1 parent b215a34 commit 4568237
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
- Hessian Eigenmaps (HLLE)
- Laplacian Eigenmaps (LEM)
- Local tangent space alignment (LTSA)
- t-Distributed Stochastic Neighborhood Embedding (t-SNE)

## Installation

Expand Down
2 changes: 1 addition & 1 deletion src/tsne.jl
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ function perplexities(D::AbstractMatrix{T}, p::Real=30;
P = zeros(T, size(D))
βs = zeros(T, n)
= log(p) # desired entropy
for (i, Dᵢ) in pairs(eachcol(D))
for (i, Dᵢ) in enumerate(eachcol(D))
Pᵢ = @view P[:,i]
β = 1 # precision β = 1/σ²
βmax, βmin = Inf, 0
Expand Down

2 comments on commit 4568237

@wildart
Copy link
Owner Author

@wildart wildart commented on 4568237 Mar 6, 2022

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/56087

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.9.0 -m "<description of version>" 4568237cbf01841b65f1784e5f9ac357b8a27013
git push origin v0.9.0

Please sign in to comment.