In this research, researcher has implemented supervised machine learning, namely k-nearest neighbor (k-NN) which is optimized using genetic algorithms, and the internet of things (IoT) on the nutrient film technique (NFT) hydroponic system. The aim…