suppose you want to find the optimal weight for a problem that you can't measure the output.(e.g death) .in other words you know the contributing factors to death but you can't really test or stimulate death. how can you find the optimal or sub-optimal weight of that cost function?