Views
No views yet
[!NOTE] Version 1.5 Update: Trained on 176,000+ sequences from NCBI database. Covers 40+ Influenza A subtypes (H1N1, H3N2, H5N1, etc.) and Norovirus GII variants.
| Metric | Value |
|---|---|
| Total Sequences | 176,407 |
| Unique Virus Types | 40+ |
| Data Source | NCBI Influenza & Norovirus Database |
| Last Updated | 2026-01-08 |
| Virus Type | Samples |
|---|---|
| Influenza A H1N1 | 11,251 |
| Influenza A H3N2 | 9,326 |
| Influenza A H5N1 | 6,675 |
| Norovirus GII | 5,488 |
| Influenza A H9N2 | 1,929 |
| Influenza A H1N2 | 1,349 |
compute_class_weight('balanced')) to handle severe class imbalanceinference.py:
.joblib filesdna_classifier.joblibsequence_model.joblibinference.py script for easy usage..joblib and inference.py).inference.py script:1from inference import predict_dna
2
3sequence = "ATGCTAGCTAGCTAG..."
4results = predict_dna(sequence)
5
6print(f"Genetic Type: {results['classification']}")
7print(f"Virus Identity: {results['virus_identity']}")
8print(f"Confidence: {results['virus_confidence']*100:.1f}%")
9
10# Check if prediction was below threshold
11if results['virus_identity'] == 'Unknown':
12 print(f"Raw prediction was: {results['raw_prediction']} ({results['raw_confidence']*100:.1f}%)")1import joblib
2classifier = joblib.load("dna_classifier.joblib")
3scaler = joblib.load("scaler_rf.joblib")
4# (Refer to inference.py for Feature Extraction logic)