Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -55,7 +55,8 @@ def extract_features(sequence):
|
|
| 55 |
pseaac_features = PseudoAAC.GetAPseudoAAC(sequence, lamda=9)
|
| 56 |
|
| 57 |
# Combine all extracted features
|
| 58 |
-
all_features =
|
|
|
|
| 59 |
normalized_features = scaler.transform(all_features.T)
|
| 60 |
normalized_features = normalized_features.flatten()
|
| 61 |
|
|
|
|
| 55 |
pseaac_features = PseudoAAC.GetAPseudoAAC(sequence, lamda=9)
|
| 56 |
|
| 57 |
# Combine all extracted features
|
| 58 |
+
all_features = {**aa_features, **auto_features, **ctd_features, **pseaac_features}
|
| 59 |
+
all_features = list(all_features.values())
|
| 60 |
normalized_features = scaler.transform(all_features.T)
|
| 61 |
normalized_features = normalized_features.flatten()
|
| 62 |
|