Update app.py
Browse files
app.py
CHANGED
|
@@ -75,9 +75,9 @@ def predict_peptide(sequence: str):
|
|
| 75 |
|
| 76 |
X = extract_features_app(seq)
|
| 77 |
|
| 78 |
-
|
| 79 |
# --- probs_list: list of arrays from each estimator ---
|
| 80 |
-
probs_list = [est.predict_proba(X) for est in model] # model is a list
|
| 81 |
|
| 82 |
table = []
|
| 83 |
for i, target in enumerate(TARGET_CELLS):
|
|
|
|
| 75 |
|
| 76 |
X = extract_features_app(seq)
|
| 77 |
|
| 78 |
+
probs_list = model.predict_proba(X) # list of arrays per target
|
| 79 |
# --- probs_list: list of arrays from each estimator ---
|
| 80 |
+
#probs_list = [est.predict_proba(X) for est in model] # model is a list
|
| 81 |
|
| 82 |
table = []
|
| 83 |
for i, target in enumerate(TARGET_CELLS):
|