ValueError: Input contains NaN, infinity or a value too large for dtype('float64').
检查trainx中是否有空值,非法值或者数据值长度过长的情况