Platform
Resources
Pricing
Sign in
Get started
Fil
Vocateur.
Workspace
Fork
Published
3 collections
By
Fil
Edited
Aug 2, 2020
5 stars
Clustering
DruidJS worker
Natural breaks
Word Tour: 40k words and their friends
Head/tail breaks
Hello, kmeans-engine
Hello, jsgeoda!
n-dimensions binning?
Ternary binning
Hello, Reorder.js
Geometric Median
UMAP Sleepwalk
Disc Transport
Self-Organizing Maps meet Delaunay
Hello, Autoencoder
Cumulative binning
Plateau detection
Spherical smallest-circle problem
Frida Kahlo’s palette
Mean shift clustering with flatbush
Mean shift clustering
Mean shift clustering with kd-tree
Manhattan Voronoi II
H3 oddities
Protein Matrix
UMAP-o-Matic
UMAP in A-Frame
UMAP of temperatures in Minneapolis/Saint-Paul
UMAP Simple Topologies
UMAP & a personalized distance function
t-SNE Voronoi
Travelling salesperson approximation with t-SNE
tsne.js & worker
tsne.js
Hello tfjs-tsne
Travelling salesperson approximation on the globe, with UMAP-js
UMAP-js, worker version
Hello UMAP (via Algorithmia)
MNIST & UMAP-js
Hello UMAP-js
Also listed in…
Algorithms
Hello
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Autoencoder
=
require
(
'https://bundle.run/autoencoder@0.0.2'
)
Insert cell
data
=
require
(
"@observablehq/iris"
)
.
then
(
l
=>
l
.
map
(
d
=>
Object
.
assign
(
[
d
.
sepalLength
,
d
.
sepalWidth
,
d
.
petalLength
,
d
.
petalWidth
]
,
{
color
:
classify
(
d
.
species
)
}
)
)
)
Insert cell
classify
=
d3
.
scaleOrdinal
(
d3
.
schemeAccent
)
Insert cell
ae
=
{
replay
;
const
ae
=
new
Autoencoder
(
{
nInputs
:
data
[
0
]
.
length
,
nHidden
:
4
,
scale
:
true
,
activation
}
)
;
ae
.
fit
(
data
,
{
batchSize
:
50
,
iterations
:
2000
,
method
,
stepSize
:
0.05
}
)
;
return
ae
;
}
Insert cell
Y
=
ae
.
encode
(
data
)
Insert cell
ae
.
decode
(
Y
)
Insert cell
ae
.
predict
(
data
)
// same as decode(encode(data))
Insert cell
distances
=
ae
.
predict
(
data
)
.
map
(
(
predicted
,
i
)
=>
Math
.
hypot
(
...
predicted
.
map
(
(
d
,
j
)
=>
d
-
data
[
i
]
[
j
]
)
)
)
Insert cell
score
=
d3
.
quantile
(
distances
,
.9
)
Insert cell
d3
=
require
(
"d3@6.0.0-rc.2"
)
Insert cell
import
{
select
}
from
"@jashkenas/inputs"
Insert cell
Purpose-built for displays of data
Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Try it for free
Learn more
Fork
View
Export
Listed in...
Clustering
Fil
Algorithms
Fil
Hello
Fil
Edit
Show 2 comments
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
activation
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
method
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
replay
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Autoencoder
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
data
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
classify
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
ae
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Y
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
distances
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
score
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
d3
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML