weights and rmserror