Skip to content

Commit 4568237

Browse files
committed
updated readme & fixed function call for julia compatibility
1 parent b215a34 commit 4568237

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
- Hessian Eigenmaps (HLLE)
1616
- Laplacian Eigenmaps (LEM)
1717
- Local tangent space alignment (LTSA)
18+
- t-Distributed Stochastic Neighborhood Embedding (t-SNE)
1819

1920
## Installation
2021

src/tsne.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ function perplexities(D::AbstractMatrix{T}, p::Real=30;
3333
P = zeros(T, size(D))
3434
βs = zeros(T, n)
3535
= log(p) # desired entropy
36-
for (i, Dᵢ) in pairs(eachcol(D))
36+
for (i, Dᵢ) in enumerate(eachcol(D))
3737
Pᵢ = @view P[:,i]
3838
β = 1 # precision β = 1/σ²
3939
βmax, βmin = Inf, 0

0 commit comments

Comments
 (0)