Today more than one billion out of 6.5 billion people in the world are affected by hunger. The significant growth in human population inevitably places considerable pressure on food supplies. In traditional farming, farmers require good quality soil, natural minerals and also the production relatively consumes more time. The hydroponics smart greenhouse method has been adopted as a result of technological advancements. Hydroponics is a technique of growing plants that does not require the use of soil, and the plants in hydroponics grows in a shorter duration and have higher yields. In normal hydroponics system, a portion of the greenhouse is used for harvesting and the parameters like temperature, and humidity can have an impact on plant growth, and the plants are not properly nourished. In this proposed system, in hydroponics for germination organic coconut coir medium is used rather than rock wool, because rock wool is not bio-degradable and composed of volcanic materials. In the proposed research of hydroponics, the system is automated on a wide scale covering the entire green house with different crops produced in different climatic conditions. The implementation is done on, stable greenhouse environment and plants are grown covering the entire greenhouse, under constant optimal conditions which is favorable to have maximum yield. The prediction of absolute crop growth rate of leafy vegetables is predicted using KNN algorithm under various conditions. The several forms of hydroponics for commercial crop growth has been compared and it has been concluded that NFT along with coconut coir medium is best suitable for hydroponics and it produces an accuracy of 93%. Macro average, a performance metric for F1 score produces 33% and weighted average, which represents the number of instances connected to different class labels, produces an accuracy of 93%.