EpistasisLab / EpistasisLab/tpot
Getting error while changing a parameter in config file
- Dominant language
- Jupyter Notebook
- Stars
- 10.1k
- Forks
- 1.6k
- PR merge metrics
- No merged PRs in 30d
Description
I am trying to fetch probability score of classes using the SVM Algo present in TPOT. To do that I increased 1 parameter which is 'probability' : [True] in the config file. However while running TPOT it is giving the following error.
PS - Tpot runs properly when I remove this parameter on the same dataset.
`--> 217 tpot.fit(data_seg.x_tr, data_seg.y_tr)`
```
R:\Anaconda3\lib\site-packages\tpot\base.py in fit(self, features, target, sample_weight, groups)
842 # raise the exception if it's our last attempt
843 if attempt == (attempts - 1):
--> 844 raise e
845 return self
846
```
```
R:\Anaconda3\lib\site-packages\tpot\base.py in fit(self, features, target, sample_weight, groups)
833 self._pbar.close()
834
--> 835 self._update_top_pipeline(features, target)
836 self._summary_of_best_pipeline(features, target)
837 # Delete the temporary cache before exiting
```
```
R:\Anaconda3\lib\site-packages\tpot\base.py in _update_top_pipeline(self, features, target)
1286
1287 if not self._optimized_pipeline:
-> 1288 raise RuntimeError('There was an error in the TPOT optimization '
1289 'process. This could be because the data was '
1290 'not formatted properly, or because data for '
```
RuntimeError: There was an error in the TPOT optimization process. This could be because the data was not formatted properly, or because data for a regression problem was provided to the TPOTClassifier object. Please make sure you passed the data to TPOT correctly.``
Kindly Let me know what am I doing wrong and the solution to it !!!
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.