synthetic
Module Contents
Functions
|
Calculate the root mean squared error between y and y_pred. |
|
Calculate the mean squared error between y and y_pred. |
|
Attributes
- synthetic.Array
- synthetic.rmse(y: Array, y_pred: Optional[Array] = None) float
Calculate the root mean squared error between y and y_pred.
If y_pred is not provided, y is treated as the residual vector.
- synthetic.mae(y: Array, y_pred: Optional[Array] = None) float
Calculate the mean squared error between y and y_pred.
If y_pred is not provided, y is treated as the residual vector.
- synthetic.get_energy(nheavy: int, nsamples: int, loc=0, scale=1) Array
- synthetic.xplot = []
- synthetic.yplot = []
- synthetic.method1
- synthetic.xplot
- synthetic.yplot
- synthetic.N = 1000000
- synthetic.xplot = []
- synthetic.yplot = []
- synthetic.method1
- synthetic.df
- synthetic.cols = ['RMSE(E)', 'RMSE(E) / sqrt(nh)', 'RMSE(E/nh)', 'MAE(E)', 'MAE(E) / sqrt(nh)', 'MAE(E/nh)']