private void train_data() { KNN = new KNearest(this); WriteLine("Training...", true, true); KNN.getData(); KNN.train(); WriteLine("Proses training telah selesai", true, true); }