tdomhan / pyautoweka

AutoWeka for python
10 stars 18 forks source link

running iris example code #1

Open pmk2109 opened 8 years ago

pmk2109 commented 8 years ago

I get an issue with the: y_predict = experiment.predict(X_test) line.

This is the error:

`

CalledProcessError Traceback (most recent call last)

in () ----> 1 y_predict = experiment.predict(X_test) /home/******/anaconda2/lib/python2.7/site-packages/pyautoweka-.1-py2.7.egg/pyautoweka/pyautoweka.pyc in predict(self, X) 547 self.predict_from_file(prediction_data_path, 548 predictions_file=prediction_output_path, --> 549 hide_output=True) 550 551 #read the output: /home/******/anaconda2/lib/python2.7/site-packages/pyautoweka-.1-py2.7.egg/pyautoweka/pyautoweka.pyc in predict_from_file(self, data_file, predictions_file, hide_output) 493 #TODO: for now we only support a single dataset 494 dataset = self.datasets[0] --> 495 seed = self.get_best_seed_from_trajectories(dataset) 496 experiment_folder = self.get_experiment_folder(dataset) 497 /home/*******/anaconda2/lib/python2.7/site-packages/pyautoweka-.1-py2.7.egg/pyautoweka/pyautoweka.pyc in get_best_seed_from_trajectories(self, dataset) 471 trajectories_file] 472 #print " ".join(best_trajectory_group) --> 473 program_output = str(check_output(best_trajectory_group)) 474 seed = -1 475 for line in program_output.split("\n"): /home/******_/anaconda2/lib/python2.7/subprocess.pyc in check_output(_popenargs, **kwargs) 571 if cmd is None: 572 cmd = popenargs[0] --> 573 raise CalledProcessError(retcode, cmd, output=output) 574 return output 575 CalledProcessError: Command '['java', '-cp', '/home/*******/.python-eggs/pyautoweka-.1-py2.7.egg-tmp/pyautoweka/java/autoweka.jar', 'autoweka.tools.GetBestFromTrajectoryGroup', 'experiments/Experiment-dataset1/Experiment-dataset1.trajectories']' returned non-zero exit status 1` Any thoughts?
nick-magnini commented 7 years ago

I have exactly the same error. It is about the test data that I think is not created.

PiggyFan commented 6 years ago

maybe can see the log? I have the same problem, and here is the log:

error: can't found ca.ubc.cs.beta.smac.executors.AutomaticConfigurator