ValueError: Input contains NaN, infinity or a value too large for dtype('float64').
问题:在训练模型 fit(x_train,y_train) 时遇到报错 ValueError: Input contains NaN, infinity or a value too large for dtype('float64') 解决方法:1、检查数据中是否有缺失值,并做缺失值处理# 读取数据train = pd.read_csv('./data/train....