Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -270,6 +270,13 @@ with top_tab_bp:
|
|
| 270 |
|
| 271 |
with sub_cluster:
|
| 272 |
st.subheader("Supervised SHAP Clustering (PCA)")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 273 |
|
| 274 |
try:
|
| 275 |
training_genes = pd.read_csv("training_cleaned.csv")
|
|
|
|
| 270 |
|
| 271 |
with sub_cluster:
|
| 272 |
st.subheader("Supervised SHAP Clustering (PCA)")
|
| 273 |
+
st.markdown(
|
| 274 |
+
"Each point is a gene positioned using PCA on its SHAP profile for the **Most Likely** class, "
|
| 275 |
+
"so clustering reflects similarity in model explanation patterns rather than raw feature values. "
|
| 276 |
+
"Genes that appear close together are being prioritised for similar reasons by the model, while genes far apart "
|
| 277 |
+
"are driven by different feature contributions. Use the overlays to see whether your queried genes align with "
|
| 278 |
+
"the most-likely training-gene region or form distinct groups."
|
| 279 |
+
)
|
| 280 |
|
| 281 |
try:
|
| 282 |
training_genes = pd.read_csv("training_cleaned.csv")
|