Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 22 additions & 6 deletions notebooks/01_quickstart.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
}
],
"source": [
"model = TMAP(metric=\"jaccard\", n_neighbors=20, kc=50, seed=42).fit(fps)\n",
"model = TMAP(metric=\"jaccard\",seed=42).fit(fps)\n",
"\n",
"print(model.embedding_.shape)\n",
"print(model.tree_.edges.shape)\n"
Expand All @@ -84,6 +84,14 @@
"Use `to_widget()` when you want an interactive Jupyter view.\n"
]
},
{
"cell_type": "markdown",
"id": "ede8ead6",
"metadata": {},
"source": [
"Note: If this is your first time using the notebook view (jupyter-scatter) you might need to restart the notebook or the VSCode extensions after installing."
]
},
{
"cell_type": "code",
"execution_count": 3,
Expand All @@ -93,19 +101,19 @@
"name": "stderr",
"output_type": "stream",
"text": [
"/var/folders/zw/c0mr_7jx7t3bz1k6_9n9wh3r0000gn/T/ipykernel_83682/684963885.py:5: UserWarning: Edges are not supported in notebook mode yet and will be ignored.\n",
"/var/folders/zw/c0mr_7jx7t3bz1k6_9n9wh3r0000gn/T/ipykernel_37637/684963885.py:5: UserWarning: Edges are not supported in notebook mode yet and will be ignored.\n",
" widget = viz.to_widget(width=1000, height=650, controls=True)\n"
]
},
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "c968a1fae2dd4ca6b4b08e5e79da193e",
"model_id": "252e412c35304bca8b89c728ad5a8115",
"version_major": 2,
"version_minor": 0
},
"text/plain": [
"VBox(children=(HBox(children=(VBox(children=(<jscatter.widgets.button.Button object at 0x13fd45e80>, <jscatter…"
"VBox(children=(HBox(children=(VBox(children=(<jscatter.widgets.button.Button object at 0x17eafdc10>, <jscatter…"
]
},
"execution_count": 3,
Expand Down Expand Up @@ -133,9 +141,17 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 4,
"metadata": {},
"outputs": [],
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"quickstart_molecules.html\n"
]
}
],
"source": [
"path = viz.write_html(\"quickstart_molecules.html\")\n",
"print(path)\n"
Expand Down
File renamed without changes.
260 changes: 260 additions & 0 deletions notebooks/03_continuous_embeddings.ipynb

Large diffs are not rendered by default.

481 changes: 481 additions & 0 deletions notebooks/04_new_functionalities.ipynb

Large diffs are not rendered by default.

File renamed without changes.
File renamed without changes.
186 changes: 0 additions & 186 deletions notebooks/06_metric_guide.ipynb

This file was deleted.

Loading
Loading