rmse_weights
rmse_weights(rmse)Model weights from a vector of RMSE values.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| rmse | array_like | RMSE values, one per candidate model. | required |
Returns
| Name | Type | Description |
|---|---|---|
| numpy.ndarray |
Examples
>>> from corehydropy import rmse_weights
>>> round(float(rmse_weights([1.2, 1.5, 2.0]).sum()), 6)
1.0