Mean squared error for decision tree (ie., mean) predictions
(y)
| 213 | |
| 214 | |
| 215 | def mse(y): |
| 216 | """ |
| 217 | Mean squared error for decision tree (ie., mean) predictions |
| 218 | """ |
| 219 | return np.mean((y - np.mean(y)) ** 2) |
| 220 | |
| 221 | |
| 222 | def entropy(y): |
nothing calls this directly
no outgoing calls
no test coverage detected