Update app.py
Browse files
app.py
CHANGED
@@ -69,14 +69,14 @@ def PCA_Pred(x1, x2, x3, x4):
|
|
69 |
|
70 |
return [pc_output, fig]
|
71 |
|
72 |
-
title = "
|
73 |
with gr.Blocks(title=title) as demo:
|
74 |
gr.Markdown(f"## {title}")
|
75 |
gr.Markdown(
|
76 |
"""
|
77 |
-
|
78 |
-
to the
|
79 |
-
reduction) taken from a pre-trained model with Iris dataset.
|
80 |
""")
|
81 |
html = (
|
82 |
"<div >"
|
|
|
69 |
|
70 |
return [pc_output, fig]
|
71 |
|
72 |
+
title = "PCA example with Iris Dataset 🌺"
|
73 |
with gr.Blocks(title=title) as demo:
|
74 |
gr.Markdown(f"## {title}")
|
75 |
gr.Markdown(
|
76 |
"""
|
77 |
+
The following app is a demo for PCA decomposition. It takes 4 dimensions as input, in reference \
|
78 |
+
to the following image, and returns the transformed first three principal components (feature \
|
79 |
+
reduction), taken from a pre-trained model with Iris dataset.
|
80 |
""")
|
81 |
html = (
|
82 |
"<div >"
|