Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Model Card for Mozart vs Beethoven Classifier
|
| 2 |
+
|
| 3 |
+
This model predicts whether a classical piano piece was composed by **Mozart** or **Beethoven**, based on numerical features extracted from the score (counts of right-hand notes, left-hand notes, measures, key centers, and markings).
|
| 4 |
+
|
| 5 |
+
## Model Details
|
| 6 |
+
|
| 7 |
+
### Model Description
|
| 8 |
+
|
| 9 |
+
- **Developed by:** Scotty McGee (PhD student, CMU)
|
| 10 |
+
- **Shared by [optional]:** Scotty McGee
|
| 11 |
+
- **Model type:** Tabular classification (AutoML with AutoGluon)
|
| 12 |
+
- **Language(s) (NLP):** Not applicable (tabular/numeric features only)
|
| 13 |
+
- **License:** MIT (update as needed)
|
| 14 |
+
- **Finetuned from model:** N/A
|
| 15 |
+
|
| 16 |
+
## Uses
|
| 17 |
+
|
| 18 |
+
### Direct Use
|
| 19 |
+
Demonstration of machine-learning classification on musical data. Predicts a binary composer label (Mozart or Beethoven) from numeric score features.
|
| 20 |
+
|
| 21 |
+
### Downstream Use [optional]
|
| 22 |
+
Could be adapted for broader composer classification tasks, musicology studies, or automated metadata tagging.
|
| 23 |
+
|
| 24 |
+
### Out-of-Scope Use
|
| 25 |
+
- Not intended as a general music recognition tool.
|
| 26 |
+
- Not reliable for real performance or music audio classification.
|
| 27 |
+
- Not suitable for commercial music rights enforcement.
|
| 28 |
+
|
| 29 |
+
## Bias, Risks, and Limitations
|
| 30 |
+
- Limited to Mozart and Beethoven; not generalizable to other composers.
|
| 31 |
+
- Features are simplistic (counts of notes, measures, key centers, markings).
|
| 32 |
+
- May not capture stylistic nuance.
|
| 33 |
+
- Risk of overfitting to the dataset used.
|
| 34 |
+
|
| 35 |
+
### Recommendations
|
| 36 |
+
Use for small-scale experiments and demos. Do not apply to large-scale music classification tasks without retraining and validation.
|
| 37 |
+
|
| 38 |
+
## How to Get Started with the Model
|
| 39 |
+
|
| 40 |
+
```python
|
| 41 |
+
from autogluon.tabular import TabularPredictor
|
| 42 |
+
preds = predictor.predict(df_test) # Mozart or Beethoven
|