tpot ufunc 'isnan' not supported for the input types, and the inputs could not be safely coerced to

机器学习训练的时候报出这个问题机器学习

是由于dataframe中的数据类型有一个是‘object’,把它转成int,或float 就行,以下学习

df['A'] = df['A‘].astype(int).net

 

参考连接:blog

https://blog.csdn.net/wqtltm/article/details/82228649qt

相关文章
相关标签/搜索