This study aims to classify data on the productivity of census in Langkat Regency based on the type of census by using the Random Forest algorithm. Ubinan is a method used to measure the productivity of food crops, and in this study, the data was processed with various variables such as planting area, type of fertilizer, type of pesticide, and production volume. The Random Forest algorithm was used to build a classification model that could predict the productivity of the tares with very high accuracy, reaching 99.58% in the training stage. The model categorizes the productivity of the samples into several levels, namely Very Low, Low, Medium, High, and Very High. The implementation of this system is also equipped with a MATLAB GUI interface, which makes it easier for users to train and test data efficiently. With this system, users can see the prediction results through intuitive visualization. This research is expected to help farmers and policy makers in improving agricultural productivity through data-based analysis.
Copyrights © 2024