EpistasisLab / EpistasisLab/tpot

issue with TPOT fit

Open
#957 1 comment 0 reactions 0 assignees View on GitHub
question
Dominant language
Jupyter Notebook
Stars
10.1k
Forks
1.6k
PR merge metrics
No merged PRs in 30d

Description

Hi, I am getting the following error. Could you provide any suggestion what I am doing wrong? Thanks

>>> pipeline_optimizer.fit(X_train, y_train)
Traceback (most recent call last):
File "", line 1, in
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/tpot/base.py", line 630, in fit
features, target = self._check_dataset(features, target, sample_weight)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/tpot/base.py", line 1153, in _check_dataset
if np.any(np.isnan(features)):
TypeError: ufunc 'isnan' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.