get Classification accuracy on test data using previous saved model
问题 I am using Orange data mining tool to write a python script to get classification accuracy on test data using a previous saved model(pickle file). dataFile = "training.csv" data = Orange.data.Table(dataFile); learner = Orange.classification.RandomForestLearner() cf = learner(data) #save the pickle file with open("1.pkcls", "wb") as f: pickle.dump(cf, f) #load the pickle file with open("1.pkcls", "rb") as f: loadCF = pickle.load(f) testFile = "testing.csv" test = Orange.data.Table(testFile);