Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -71,7 +71,7 @@ def plot_pca(n_components, batch_size):
|
|
| 71 |
axes2.axis([-4, 4, -1.5, 1.5])
|
| 72 |
axes2.legend(loc="best", shadow=False, scatterpoints=1)
|
| 73 |
|
| 74 |
-
text = f"PCA runing time
|
| 75 |
|
| 76 |
return fig1, fig2, text
|
| 77 |
|
|
|
|
| 71 |
axes2.axis([-4, 4, -1.5, 1.5])
|
| 72 |
axes2.legend(loc="best", shadow=False, scatterpoints=1)
|
| 73 |
|
| 74 |
+
text = f"PCA runing time: {pca_time:.6f} seconds. Incremental PCA runing time: {ipca_time:.6f} seconds. Mean absolute unsigned error: {err*100:.6f}%"
|
| 75 |
|
| 76 |
return fig1, fig2, text
|
| 77 |
|