Skip to content

Commit 7dd15f6

Browse files
Update README.md
1 parent bc08239 commit 7dd15f6

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

Melody-Generation/README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -141,16 +141,17 @@ This function:
141141

142142
- **Root Mean Square Error (RMSE)**: Measures the average magnitude of error between the predicted and actual values, particularly useful for numeric features like `duration` and `step`. Lower RMSE values indicate more accurate predictions. It is calculated as:
143143

144-
$$
144+
```math
145145
RMSE = \sqrt{\frac{1}{N} \sum_{i=1}^{N} (y_i - \hat{y}_i)^2}
146-
$$
146+
```
147147

148148

149149
- **Coefficient of Determination (R²)**: Evaluates the proportion of variance in the actual values explained by the model, R² values close to 1 indicate the model captures the underlying patterns well. It is calculated as:
150150

151-
$$
151+
152+
```math
152153
R^2 = 1 - \frac{\sum_{i=1}^N (y_i - \hat{y}_i)^2}{\sum_{i=1}^N (y_i - \bar{y})^2}
153-
$$
154+
```
154155

155156

156157
### Evaluation Process

0 commit comments

Comments
 (0)