Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -166,7 +166,7 @@ Non-human probability: {float(probs[0][0]):0.4f}
|
|
166 |
Most influential k-mers:"""
|
167 |
|
168 |
for kmer in important_kmers:
|
169 |
-
result += f"\n {kmer['kmer']}: importance={kmer['importance']:.4f}, raw_freq={kmer['
|
170 |
|
171 |
results.append(result)
|
172 |
except Exception as e:
|
|
|
166 |
Most influential k-mers:"""
|
167 |
|
168 |
for kmer in important_kmers:
|
169 |
+
result += f"\n {kmer['kmer']}: importance={kmer['importance']:.4f}, raw_freq={kmer['raw_freq']:.4f} ({kmer['raw_freq']*100:.2f}%), scaled_freq={kmer['scaled_freq']:.4f}"
|
170 |
|
171 |
results.append(result)
|
172 |
except Exception as e:
|