private void train_button(object sender, EventArgs e) { string algorithm = comboBox1.Text; int[] labels = ac.labels; double[,] tr_docrule = ac.docRule; ac.Classification_Train(tr_docrule, labels, algorithm); write_mat(tr_docrule, labels, "train"); ////ac.removekeys(100); //ac = new AR(); //ac.Classification_Train(train_docword, label, algorithm); }