Learning the defence of cancer