An ensemble algorithm for breast cancer histopathology image classification