Spaces:
Runtime error
Runtime error
none
commited on
Commit
·
46434ac
1
Parent(s):
6355a52
Edit the writing a bit
Browse files
app.py
CHANGED
@@ -247,12 +247,14 @@ I've also labeled each node with the feature name and the decision boundary.
|
|
247 |
If you click on a node, Plotly will show the path to that node in a banner at the top of the plot so you can see how a point ends up in the node you clicked.
|
248 |
|
249 |
The numbers and letters in brackets like `[3.L]` refer to the parent node's position in a breadth-first traversal of the tree and whether the current node is a left or right child of that parent.
|
250 |
-
Plotly unfortunately plots everything flipped for some reason, so all the `R` nodes are on the left and vice versa.
|
251 |
|
252 |
I'm caught between a rock and a hard place here.
|
253 |
Streamlit makes the plot too small because it wants the plot to fit inline with the text.
|
254 |
-
Expanding the plot fixes this problem in Streamlit
|
|
|
|
|
255 |
Pick your poison.
|
|
|
256 |
It takes a second to get going after you hit `Play`.
|
257 |
|
258 |
""")
|
|
|
247 |
If you click on a node, Plotly will show the path to that node in a banner at the top of the plot so you can see how a point ends up in the node you clicked.
|
248 |
|
249 |
The numbers and letters in brackets like `[3.L]` refer to the parent node's position in a breadth-first traversal of the tree and whether the current node is a left or right child of that parent.
|
|
|
250 |
|
251 |
I'm caught between a rock and a hard place here.
|
252 |
Streamlit makes the plot too small because it wants the plot to fit inline with the text.
|
253 |
+
Expanding the plot fixes this problem in Streamlit.
|
254 |
+
But.
|
255 |
+
Hugging Face has done something to make the plot ENORMOUS, which looks even worse than the too-small Streamlit version.
|
256 |
Pick your poison.
|
257 |
+
|
258 |
It takes a second to get going after you hit `Play`.
|
259 |
|
260 |
""")
|