Input contains NaN, infinity or a value too large for dtype('float64'). there is no nonp.infinity in code

前端 未结 0 1225
春和景丽
春和景丽 2021-01-05 05:06
gNB = GaussianNB() # alpha \'1\' means smooth \'0\' means no smoothing
gNB.fit(features_train, labels_train)
pred_from_test_data = gNB.predict(features_test)
g_pred          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题