This code compares different machine learning technique on same image and its publication is as follow:
Title: Evaluation of Machine Learning Algorithms for Surface Water Extraction in a Landsat 8 Scene of Nepal
DOI: https://doi.org/10.3390/s19122769
URL: https://www.mdpi.com/1424-8220/19/12/2769
Special thanks to Dr. Tri Dev Acharya for allowing this to share. To learn more of his surface water mapping works see his scholar lsit: https://scholar.google.com/scholar?hl=en&as_sdt=0%2C5&q=tri+dev+surface+water+landsat&btnG=